configure: error: wrong mysql library version or lib not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

I'm trying to compile php 5.2.17 Âfrom source with followingÂ

sudo ./configure --prefix=/usr --enable-fastcgi --enable-fpm --with-mysql --with-mysqli --enable-force-cgi-redirect --with-fpm-conf=/etc/php5 --with-fpm-log=/var/log/php5 --with-fpm-pid=/var/log/php5 --with-mhash --with-mcrypt --with-curl --enable-mbstring --enable-soap --with-bz2 --enable-sockets --enable-zip --with-pdo-mysql

But I got the following error during compiling

checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... (cached) yes
checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... no
checking for mysql_set_server_option in -lmysqlclient... no
configure: error: wrong mysql library version or lib not found. Check config.log for more information.

The environment is

Ubuntu 10.10 amd64
php 5.2.17
libmysqlclient16, libmysqlclient16-dev installed
mysql 5.1 installed

What did I wrong ?

Sincerely,
Eberx

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux