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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 06:01:30 2024 UTC