php5.0.3 compile problem "cannot find libz"
| From: | Kris | Date: | Thu, 24 Feb 2005 20:29:39 +0000 |
| Subject: | php5.0.3 compile problem "cannot find libz" | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-209371@lists.php.net to get a copy of this message | ||
Hello,
I have PHP5 running but wanted to recompile for mysql support.
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/lib --with-mysql=/usr/local/mysql
it complained about libz so I added --with-zlib-dir as:
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/lib --with-mysql=/usr/local/mysql --with-zlib-dir=/usr/lib
And so configure errors out on "Cannot find libz"
my /usr/lib contains:
zlib.so, libz.so.1 ..
Can anyone tell me what I need to do on my ./configure to get rolling?
This PHP is currently running with Apache2.. I am running MySQL5 as well.. my working PHP install was configured using the first configure statement in this email minus --with-mysql.. working just fine....
Thanks
Kris
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 2/22/05