php5.0.3 compile problem "cannot find libz"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux