| Article: |
PHP 4.3 and Mac OS X | |
| Subject: | --with-zlib fails to find libz, any corrected instructions known? | |
| Date: | 2003-01-28 18:50:06 | |
| From: | anonymous2 | |
|
Trying to configure with --with-zlib fails, it reports "cannot find libz".
|
||
Showing messages 1 through 1 of 1.
-
--with-zlib fails to find libz, any corrected instructions known?
2003-02-28 19:43:17 tychay [View]



./configure --with-zlib=/usr
and it worked fine.
One thing is where is configure failing. Is it failing here?
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... yes
checking for gzgets in -lz... yes
or is it failing in some other extension? A lot of extensions (domxml, mysql, pdflib, cpdf, etc.) expect zlib. To help it along....
"--with-zlib=/usr --with-zlib-dir=/usr"
assuming you have a compatible version of Developer Tools installed (the headers for libz come with it).
I hope this helps,
terry chay
tychay at php dot net