I have CentOS 32 bit with MySQL built-in from lxcenter (Kloxo), when I tried to ./configure or ./configure --with-mysql=/usr/lib/mysql/mysql_config, it always gives me error :
checking for pthread_create in -lpthread... yes
checking for pthread_sigmask in -lpthread... yes
checking for pthread_attr_init in -lpthread... yes
checking for pthread_attr_setstacksize in -lpthread... yes
checking for pthread_attr_destroy in -lpthread... yes
checking for pthread_cancel in -lpthread... yes
checking for pthread_join in -lpthread... yes
checking for mysql_init in -lmysqlclient... no
checking mysql.h usability... no
checking mysql.h presence... no
checking for mysql.h... no
checking MySQL library (required)... no
configure: error: MySQL not found or incompatible
But there is mysql server running on my VPS
[user@server]# yum list | grep "mysql"
mysql.i386 5.0.92-lxcenter.1 installed
mysql-libs.i386 5.0.92-lxcenter.1 installed
mysql-server.i386 5.0.92-lxcenter.1 installed
php-mysql.i386 5.2.17-1 installed
apr-util-mysql.i386 1.3.9-1.el5 lxcenter-updates
bytefx-data-mysql.i386 1.2.4-2.el5.centos extras
freeradius-mysql.i386 1.1.3-1.6.el5 base
freeradius2-mysql.i386 2.1.12-3.el5 base
libdbi-dbd-mysql.i386 0.8.1a-1.2.2 base
lighttpd-mod_mysql_vhost.i386 1.4.29-1 lxcenter-updates
mod_auth_mysql.i386 1:3.0.0-3.2.el5_3 base
mysql.i386 5.0.95-1.el5_7.1 updates
mysql-bench.i386 5.0.95-1.el5_7.1 updates
mysql-connector-odbc.i386 3.51.26r1127-2.el5 base
mysql-connector-odbc64.i386 5.1.8-1.el5 base
mysql-devel.i386 5.0.95-1.el5_7.1 updates
mysql-server.i386 5.0.95-1.el5_7.1 updates
mysql-test.i386 5.0.95-1.el5_7.1 updates
pdns-backend-mysql.i386 2.9.21-4.el5.centos extras
php-mysql.i386 5.2.17-13 lxcenter-updates
php-pear-MDB2-Driver-mysql.noarch 1.4.1-3.el5.centos extras
php53-mysql.i386 5.3.3-13.el5_8 updates
qt4-mysql.i386 4.2.1-1.el5_7.1 base
rsyslog-mysql.i386 3.22.1-7.el5 base
Question
MuzTank
I have CentOS 32 bit with MySQL built-in from lxcenter (Kloxo), when I tried to ./configure or ./configure --with-mysql=/usr/lib/mysql/mysql_config, it always gives me error :
But there is mysql server running on my VPS
What option should I write when compiling?
Edited by MuzTank0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.