php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37489 libtool: link: cannot find the library `/usr/lib/mysql/libz.la'
Submitted: 2006-05-18 07:12 UTC Modified: 2006-05-18 12:52 UTC
From: thomas at networkphantom dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.4 OS: CentOS 4.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: thomas at networkphantom dot net
New email:
PHP Version: OS:

 

 [2006-05-18 07:12 UTC] 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.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-18 07:24 UTC] thomas at networkphantom dot net
Looks to be a missing library resulting from a bug in packaged mysql:

http://bugs.mysql.com/bug.php?id=15223

Thank you.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Dec 05 04:00:01 2025 UTC