#37489 [NEW]: libtool: link: cannot find the library `/usr/lib/mysql/libz.la'
| From: | thomas at networkphantom dot net | Date: | Thu, 18 May 2006 07:12:41 +0000 |
| Subject: | #37489 [NEW]: libtool: link: cannot find the library `/usr/lib/mysql/libz.la' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-97301@lists.php.net to get a copy of this message | ||
From: thomas at networkphantom dot net
Operating system: CentOS 4.3
PHP version: 5.1.4
PHP Bug Type: Compile Failure
Bug description: libtool: link: cannot find the library `/usr/lib/mysql/libz.la'
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 bug report at http://bugs.php.net/?id=37489&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37489&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37489&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37489&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37489&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37489&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37489&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37489&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37489&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37489&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37489&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37489&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37489&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37489&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37489&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37489&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37489&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37489&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37489&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37489&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37489&r=mysqlcfg