#37280 [NEW]: Install Fails looking for mysql library
| From: | admin at originzero dot com | Date: | Tue, 02 May 2006 18:37:21 +0000 |
| Subject: | #37280 [NEW]: Install Fails looking for mysql library | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-96487@lists.php.net to get a copy of this message | ||
From: admin at originzero dot com
Operating system: RHEL3
PHP version: 5.1.3
PHP Bug Type: Compile Failure
Bug description: Install Fails looking for mysql library
Description:
------------
Trying to build php5.1.3 on RHEL3 with mySQL 4.1.18. I receive the
following error:
grep: /usr/lib/mysql/libz.la: No such file or directory
/bin/sed: can't read /usr/lib/mysql/libz.la: No such file or directory
libtool: link: `/usr/lib/mysql/libz.la' is not a valid libtool archive
make: *** [libphp5.la] Error 1
Reproduce code:
---------------
Configure with
./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml
--enable-bcmath --enable-calendar --enable-ftp --with-gd
--with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6
--with-freetype-dir=/usr/local --with-imap --with-imap-ssl --with-kerberos
--with-mcrypt --with-mhash --enable-magic-quotes
--with-mysqli=/usr/bin/mysql_config --with-mysql=/usr/bin/mysql_config
--enable-discard-path --with-pear --enable-sockets --enable-track-vars
--enable-versioning --with-zlib --enable-exif --with-curl
--
Edit bug report at http://bugs.php.net/?id=37280&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37280&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37280&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37280&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37280&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37280&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37280&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37280&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37280&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37280&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37280&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37280&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37280&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37280&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37280&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37280&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37280&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37280&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37280&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37280&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37280&r=mysqlcfg