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

Posted by Richard Lynch on 02/25/05 20:37

> --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?

It probably can't find /usr/include/libz.h (and friends)

Use --with-zlib-dir=/usr so that "configure" can dig down into "lib" *AND*
"include" to find the library *AND* the header files that go with it.

You need library and header files both, or you can't compile.

--
Like Music?
http://l-i-e.com/artists.htm

 

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

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