[php-maint] Bug#422224: building with libmysqlclient12-dev doesn't
work
Henk van de kamer
henk at vandekamer.com
Fri May 4 11:20:01 UTC 2007
Package: php5
Version: 5.2.0-8+etch3
I'm building my own version (don't need LDAP for example) and got the
following error:
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.
make: *** [configure-apache2-stamp] Error 1
The reason is that the build-dependancies read:
libmysqlclient15-dev | libmysqlclient12-dev
and when you use the latter it goes wrong. Installing the first resolves
the build error. This one is needed for the mysqli extension which is
now default packaged in php5-mysql. That one needs libmysqlclient15 so
depending on libmysqlclient12-dev seems odd?
Henk van de Kamer
More information about the pkg-php-maint
mailing list