php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37280 Install Fails looking for mysql library
Submitted: 2006-05-02 18:37 UTC Modified: 2006-05-02 18:50 UTC
From: admin at originzero dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.3 OS: RHEL3
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: admin at originzero dot com
New email:
PHP Version: OS:

 

 [2006-05-02 18:37 UTC] admin at originzero dot com
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-02 18:50 UTC] tony2001@php.net
"can't read /usr/lib/mysql/libz.la: No such file or directory"
The error message is pretty clear.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 20 19:00:03 2025 UTC