• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Ubuntu 18.04 "mysql headers missing."

beliar34

Member
Joined
Feb 28, 2012
Messages
307
Solutions
7
Reaction score
11
Error :
Code:
checking mysql/mysql.h usability... no
checking mysql/mysql.h presence... no
checking for mysql/mysql.h... no
configure: error: "mysql headers missing."
root@vps10037:/var/BLWRO# "mysql headers missing."

Mysql : 8.0.18 - MySQL Community Server - GPL
Linux : Ubuntu 18.04 LTS

Code:
# check for mysql if it is enabled
if test -n "$MYSQL_FLAGS"; then
    AC_CHECK_HEADERS([mysql/mysql.h],[MYSQL_LIBS=-lmysqlclient],[AC_MSG_ERROR("mysql headers missing.")])
    AC_CHECK_LIB(mysqlclient, main,[],[AC_MSG_ERROR("Linking against mysql-client failed.")])
    AC_SUBST(MYSQL_LIBS)
fi

/usr/include/mysql/mysql.h Exist

any ideas?


EDIT :

Code:
apt-get install mysql-workbench
 
Last edited:
Back
Top