You are here: php5.0.3 compile problem "cannot find libz" « PHP « IT news, forums, messages
php5.0.3 compile problem "cannot find libz"

Posted by Kris on 02/24/05 22:29

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация