davef8
Verified User
I have spent a few hours on this already and scoured the DA forums to no avail. When trying to compile PHP 5.0.3 with Apache 1.3.x it keeps erroring out because it can't find the zlib directory/files it needs.
I know this topic has been mentioned in other threads but I didn't see a solution in any of them.
The server is a dedicated RHEL 3 box. The rpm zlib-1.1.4-8.1 is already installed.
I have also installed the zlib from the archive (zlib-1.2.1.tar.gz) that the DA custom apache build system brought down. I receive the same errors when I just had the zlib RPM installed and after installing zlib from the source files.
The error is " --with-zlib-dir=/usr/lib: No such file or directory
"
I have tried the following directories in the configure file:
/usr
/usr/lib
/usr/local/lib
Nothing seems to work
/usr/local/lib contains the following files:
libcurl.a libmcrypt.la libpng.a libzzip.so
libcurl.la libmcrypt.so libpng.so libzzipwrap-0.so.10
libcurl.so libmcrypt.so.4 libpng.so.3 libzzipwrap-0.so.10.0.82
libcurl.so.3 libmcrypt.so.4.4.7 libpng.so.3.1.2.7 libzzipwrap.a
libcurl.so.3.0.0 libmhash.la libz.a libzzipwrap.la
libgd.a libmhash.so libz.so libzzipwrap.so
libgd.la libmhash.so.2 libz.so.1 php
libgd.so libmhash.so.2.0.0 libz.so.1.2.1 php.ini
libgd.so.2 libpng12.a libzzip-0.so.10 pkgconfig
libgd.so.2.0.0 libpng12.so libzzip-0.so.10.0.82
libjpeg.a libpng12.so.0 libzzip.a
libmcrypt libpng12.so.0.1.2.7 libzzip.la
Note: This is a fresh install of DA on a fresh box. The DA install completed successfully with PHP 4.x using the same configure file.
I know this topic has been mentioned in other threads but I didn't see a solution in any of them.
The server is a dedicated RHEL 3 box. The rpm zlib-1.1.4-8.1 is already installed.
I have also installed the zlib from the archive (zlib-1.2.1.tar.gz) that the DA custom apache build system brought down. I receive the same errors when I just had the zlib RPM installed and after installing zlib from the source files.
The error is " --with-zlib-dir=/usr/lib: No such file or directory
"
I have tried the following directories in the configure file:
/usr
/usr/lib
/usr/local/lib
Nothing seems to work
/usr/local/lib contains the following files:
libcurl.a libmcrypt.la libpng.a libzzip.so
libcurl.la libmcrypt.so libpng.so libzzipwrap-0.so.10
libcurl.so libmcrypt.so.4 libpng.so.3 libzzipwrap-0.so.10.0.82
libcurl.so.3 libmcrypt.so.4.4.7 libpng.so.3.1.2.7 libzzipwrap.a
libcurl.so.3.0.0 libmhash.la libz.a libzzipwrap.la
libgd.a libmhash.so libz.so libzzipwrap.so
libgd.la libmhash.so.2 libz.so.1 php
libgd.so libmhash.so.2.0.0 libz.so.1.2.1 php.ini
libgd.so.2 libpng12.a libzzip-0.so.10 pkgconfig
libgd.so.2.0.0 libpng12.so libzzip-0.so.10.0.82
libjpeg.a libpng12.so.0 libzzip.a
libmcrypt libpng12.so.0.1.2.7 libzzip.la
Note: This is a fresh install of DA on a fresh box. The DA install completed successfully with PHP 4.x using the same configure file.