Mkay mkay,
Im setting up a LAMP server, and i have apache and mysql already setup, BUT, when i try to configure php i get some problems.
that problem being, Libz..
I get this error:
Configuring extensions
checking for OpenSSL support... no
checking for ZLIB support... no
checking if the location of ZLIB install directory is defined... /usr/lib
configure: error: Cannot find libz
[root@12-216-13-252 php-4.3.10]#
when i run this ./configure command:
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--disable-debug \
--enable-ftp \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-mbstring \
--enable-mm=shared \
--enable-safe-mode \
--enable-track-vars \
--enable-trans-sid \
--enable-wddx=shared \
--enable-xml \
--with-dom \
--with-gd \
--with-gettext \
--with-mysql=/usr/local/mysql \
--with-regex=system \
--with-xml \
--with-zlib-dir=/usr/lib
BUT, my /usr/lib is
[root@12-216-13-252 lib]# cd /usr/lib/
[root@12-216-13-252 lib]# ls libz
libz.so.1 libz.so.1.2.1.2
[root@12-216-13-252 lib]# ls -l libz
lrwxrwxrwx 1 root root 15 Mar 3 22:15 libz.so.1 -> libz.so.1.2.1.2
-rwxr-xr-x 1 root root 63528 Sep 12 12:13 libz.so.1.2.1.2
[root@12-216-13-252 lib]#
And by looking at that, my configure command for /usr/lib/ SHOULD FIND my libz.so* files.
any ideas why it isnt?