Bug #22916 archive-storage's zlib dependency not honored
Submitted: 3 Oct 2006 3:43 Modified: 6 May 2007 15:32
Reporter: Jens Elkner Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S4 (Feature request)
Version:5.0.24a OS:Solaris (Solaris 10)
Assigned to: CPU Architecture:Any

[3 Oct 2006 3:43] Jens Elkner
Description:
./configure
        --with-zlib-dir=no
        --with-archive-storage-engine

Should either throw an error or automatically disable archive-storage-engine.
Otherwise the make throw an error, when it tries to compile ha_archive.cc 

Since Solaris 10 still comes with zlib 1.1.x, mysql can't usually use zlib on a Solaris machine. So ...

How to repeat:
see description

Suggested fix:
Check zlib 1.2.x availability before enabling engines, which depend on zlib 1.2.x .
[22 Oct 2006 13:17] Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 5.0.26, and inform about the results.
[23 Nov 2006 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[6 May 2007 15:32] Jens Elkner
Patch 125211-01 (sparc) and 125212-01 (x86) are now available and upgrade SUNWzlib package to version 1.2.3 .  So at least for Solaris, this is no longer an issue.