[Email protected]:~/projects/bsdr$ make
g++-wall-g-std=c++11-i/usr/include/mysql-c-o producer.o producer.cpp
In file included from/usr/include/typelib.h:20:0,
from/usr/include/mysql.h:118,
From curl/. /myholder.hpp:6,
From Curl/mycurlpl.hpp:13,
From Mybizpl.hpp:12,
From Producer.cpp:6:
/usr/include/my_alloc.h:27:34:fatal error:mysql/psi/psi_memory.h: No file or directory
Compilation terminated.
<builtin>: Recipe for target ' PRODUCER.O ' failed
Make: * * * [PRODUCER.O] Error 1
[Email protected]:~/projects/libcurl/curl$ sudo apt install Libmysqlclient-dev
Reading Package List ... Complete
Analyzing Dependency tree for Package
Reading status information ... Complete
The following "new" packages will be installed:
Libmysqlclient-dev
0 packages were upgraded, 1 new packages were installed, 0 packages were uninstalled, 0 packages were not upgraded.
You need to download the 1,159 KB archive.
It consumes 7,070 KB of extra space after decompression.
Get: 1 http://mirrors.yun-idc.com/ubuntu xenial-updates/main amd64 libmysqlclient-dev amd64 5.7.17-0ubuntu0.16.04.1 [ 1,159 KB]
Downloaded 1,159 KB, time 0 seconds (2,660 kb/s)
Selecting Libmysqlclient-dev package is not selected.
(Reading Database ... The system currently has a total of 307,424 files and directories installed. )
Preparing for unpacking .../libmysqlclient-dev_5.7.17-0ubuntu0.16.04.1_amd64.deb ...
Unpacking Libmysqlclient-dev (5.7.17-0ubuntu0.16.04.1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting Libmysqlclient-dev (5.7.17-0ubuntu0.16.04.1) ...
Troubleshoot missing SQL header file compilation errors