Re: php5.0.3 compile problem "cannot find libz"

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

 



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

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