PHP configure error: Cannot find libz
I'm trying to install PHP 4.3.4 on Debian (2.4.18-686), but I'm getting a libz error. I've tried each of the following configure options...
--with-zlib
--with-zlib=/usr
--with-zlib=/usr/lib
But it stops on this error...
checking for ZLIB support... yes
checking if the location of ZLIB install direcotry is defined... no
configure: error: Cannot find libz
Yet here are the files...
/usr/libz.a (sym link to 1.1.4)
/usr/lib/libz.so.1 (sym link to 1.1.4)
/usr/lib/libz.so.1.1.4
I'm stuck. Has anyone seen this or know of a work-around? Thanks in advance.
|