From: work at zguy dot com Operating system: Solaris 8 PHP version: 5.0.0b4 (beta4) PHP Bug Type: *Configuration Issues Bug description: Configure reports zlib version wrong when iconv missing
Description: ------------ Running configure on my system I get: ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs --with-zlib=/usr/local ... checking if the location of ZLIB install directory is defined... no checking for gzgets in -lz... no configure: error: ZLIB extension requires zlib >= 1.0.9 Eventually I think to check config.log and find: configure:19568: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/loca l/lib -L/usr/local/lib -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sp arc-sun-solaris2.8/3.3.2 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2 -R /usr/local/lib -L/usr/local/lib conftest.c -lz -lresolv -lm -ldl -lnsl -lsocke t -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl 1>&5 ld: fatal: library -liconv: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status Expected result: ---------------- It would be nicer if it checked for iconv and reported it missing rather than complaining about the zlib version. -- Edit bug report at http://bugs.php.net/?id=27357&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27357&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27357&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27357&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27357&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27357&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27357&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27357&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27357&r=support Expected behavior: http://bugs.php.net/fix.php?id=27357&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27357&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27357&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27357&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27357&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27357&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27357&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27357&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27357&r=float