Bug #19001 Wrong zlib dependency and/or linking problems
Submitted: 11 Apr 2006 4:30 Modified: 11 Apr 2006 20:42
Reporter: Aaron Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:4.1.16, 4.1.17, 4.1.18 OS:Linux (Fedora Core 4)
Assigned to: CPU Architecture:Any

[11 Apr 2006 4:30] Aaron
Description:
Compiling PHP with MySQL support does not work. It gives this 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

This has been brought up in other bug reports. Those bug reports have been closed because the bug has apparently been fixed, but it HAS NOT been fixed. I am using MySQL client/devel 4.1.18 and it does not work.

If I downgrade to 4.1.15, it works flawlessly.

The other bug reports are here:

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

PLEASE fix this.

How to repeat:
Install the latest MySQL RPMs and try to compile PHP.
[11 Apr 2006 15:11] Valeriy Kravchuk
Thank you for a problem report. Looks like a duplicate of bug #18294. Please, check.
[11 Apr 2006 20:42] Aaron
Ah, yes. Same thing, I believe. Thank you.