Cannot find zlib on CentOS-4.5 (64-Bit)

paul.lkw

Verified User
Joined
Oct 25, 2007
Messages
10
I have a Dell server running Dual core 64-Bit with CentOS 4.5 64-bit installed, when I 'build php' I always get the following error;

checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... /usr/local/lib
checking for gzgets in -lz... no
configure: error: ZLIB extension requires zlib >= 1.0.9

*** There was an error while trying to configure php. Check the configure/suphp/configure.php4 file

But I have isntalled zlib-1.2.1.2-1.2 RPM (i686 and x86-64 version) on this BOX.

How can I solve it?
THX
 
I already "yum update zlib" and this didn't help. The final solution is rpm -e zlib and rpm -e zlib-devel and re-yum it, the result done.
 
Try it this way - worked easier for me on CentOS

I already "yum update zlib" and this didn't help. The final solution is rpm -e zlib and rpm -e zlib-devel and re-yum it, the result done.

Installed zlib from github the traditional way - download, configure, make, make install - and then zlib was found :)

-Mani
 
Back
Top