Hi,
I'm trying to compile zlib support into PHP. I've the latest version of zlib installed, i.e 1.1.3. I'm running on Redhat 6.1, Apache 1.3.9, and the latest snapshot of PHP from snaps.php.net
I ran into a problem at the 'configure' step.
./configure --with-apxs=/usr/sbin/apxs --with-pgsql=/usr/include/pgsql --with-gd=/usr/ --with-ftp --enable-track-vars --enable-versioning --with-gdbm=/usr/include --with-pdflib=/usr/local/lib --with-mck=/usr/local/mck-3.3.1-i586-pc-linux-gnulibc2.1 --with-jpeg-dir=/usr/lib --with-tiff-dir=/usr/lib --with-png-dir=/usr/lib --with-xpm-dir --enable-calendar --with-imap --with-zlib==/usr --with-zlib-dir --with-mod-dav --with-snmp --enable-sockets --enable-yp --with-dom --enable-sablot-errors-descriptive --with-sablot --enable-wddx --with-readline=/usr
The error message is:
checking whether to include zlib support... yes
checking for gzgets in -lz... no
configure: error: Zlib module requires zlib >= 1.0.9.
But the fact is I've already had zlib v 1.1.3 installed, which is newer than 1.0.9.
What's happening here?
Any help would be appreciated.
Joe