#37489 [Opn->Csd]: libtool: link: cannot find the library `/usr/lib/mysql/libz.la'
| From: | thomas at networkphantom dot net | Date: | Thu, 18 May 2006 07:24:07 +0000 |
| Subject: | #37489 [Opn->Csd]: libtool: link: cannot find the library `/usr/lib/mysql/libz.la' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-97302@lists.php.net to get a copy of this message | ||
ID: 37489
User updated by: thomas at networkphantom dot net
Reported By: thomas at networkphantom dot net
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: CentOS 4.3
PHP Version: 5.1.4
New Comment:
Looks to be a missing library resulting from a bug in packaged mysql:
http://bugs.mysql.com/bug.php?id=15223
Thank you.
Previous Comments:
------------------------------------------------------------------------
[2006-05-18 07:12:41] thomas at networkphantom dot net
Description:
------------
Another bug regarding this was reported as bogus, but I have a working
configuration script and a non working and there is only one flag that
differs.
---Working---
./configure --prefix=/usr/local/php5 --exec-prefix=/usr/local/php5
--program-suffix=5 --with-xml --enable-bcmath --enable-calendar
--with-curl --with-dom --with-dom-xslt --with-mysql=/usr
--with-dom-exslt --enable-ftp --with-gd --with-jpeg-dir=/usr/local
--with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext
--with-imap --with-imap-ssl --with-kerberos --enable-magic-quotes
--with-openssl --enable-discard-path --enable-force-cgi-redirect
--with-pdflib --with-pear --with-pspell --enable-xslt
--with-xslt-sablot --enable-sockets --enable-track-vars --with-ttf
--with-freetype-dir=/usr --enable-gd-native-ttf --enable-wddx
--with-xmlrpc --with-zip --with-zlib --with-pgsql --with-pdo
-------
----Not Working----
./configure --prefix=/usr/local/php5 --exec-prefix=/usr/local/php5
--program-suffix=5 --with-xml --enable-bcmath --enable-calendar
--with-curl --with-dom --with-dom-xslt --with-mysql=/usr
--with-dom-exslt --enable-ftp --with-gd --with-jpeg-dir=/usr/local
--with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext
--with-imap --with-imap-ssl --with-kerberos --enable-magic-quotes
--with-openssl --enable-discard-path --enable-force-cgi-redirect
--with-pdflib --with-pear --with-pspell --enable-xslt
--with-xslt-sablot --enable-sockets --enable-track-vars --with-ttf
--with-freetype-dir=/usr --enable-gd-native-ttf --enable-wddx
--with-xmlrpc --with-zip --with-zlib --with-pgsql --with-pdo
--with-pdo-mysql
-----
Error:
libtool: link: cannot find the library `/usr/lib/mysql/libz.la'
make: *** [sapi/cgi/php] Error 1
----
Removing --with-pdo-mysql resolves this as that is the only difference
between the working and non working. I've also tried compiling pdo and
pdo_mysql as shared, same errors result.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37489&edit=1