Women in Technology

Hear us Roar



Article:
  PHP 4.3 and Mac OS X
Subject:   --with-zlib fails to find libz, any corrected instructions known?
Date:   2003-02-28 19:43:17
From:   tychay
Response to: --with-zlib fails to find libz, any corrected instructions known?

I tried php 4.3.1 distribution with the simple line
./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