#32710 [NEW]: Configure test script doesn't detect zlib. gzgets in -lz test fails.
From: software-php at interfasys dot ch
Operating system: FreeBSD 5.3
PHP version: 4.3.11
PHP Bug Type: Compile Failure
Bug description: Configure test script doesn't detect zlib. gzgets in -lz test fails.
Description:
------------
I can compile 4.3.10 just fine with this config:
./configure \
--with-apxs \
--disable-ipv6 \
--with-curl=/usr/local/lib \
--with-gd=/usr/local \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-zlib-dir=/usr/local/lib \
--enable-gd-native-ttf \
--with-ttf \
--with-freetype-dir=/usr/local \
--with-gettext \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/local/mysql \
--with-pear \
--with-dom \
--with-dom-xslt \
--with-dom-exslt \
--with-zlib \
--with-zip \
--with-openssl \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--with-iconv=/usr/local \
--with-imap \
--with-imap-ssl \
--with-bz2 \
--enable-mbstring
but if I try with 4.3.11 I get this:
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined...
/usr/local/lib
checking for gzgets in -lz... no
configure: error: ZLIB extension requires zlib >= 1.0.9
The latest Zlib has been compiled and the phpinfo in 4.3.10 shows this:
ZLib Support enabled
Compiled Version 1.2.2
Linked Version 1.2.1
If I use the configure file from 4.3.10 then all checks are passed and
make can be started (it only fails at the end of the make process because
mbstring also has a problem).
I've tried with a .12 snapshot and I got the same result.
--
Edit bug report at http://bugs.php.net/?id=32710&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32710&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32710&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32710&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32710&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32710&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32710&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32710&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32710&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32710&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32710&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32710&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32710&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32710&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32710&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32710&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32710&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32710&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32710&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32710&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32710&r=mysqlcfg
Thread (11 messages)
- software-php at interfasys dot ch
- software-php at interfasys dot ch#32710 [Opn]: Configure test script doesn't detect zlib. gzgets in -lz test fails.
- software-php at interfasys dot ch#32710 [Bgs]: Configure test script doesn't detect zlib. gzgets in -lz test fails.
- software-php at interfasys dot ch#32710 [Bgs]: Configure test script doesn't detect zlib. gzgets in -lz test fails.
- sniper@php.net#32710 [Opn->Bgs]: Configure test script doesn't detect zlib. gzgets in -lz test fails.
- software-php at interfasys dot ch#32710 [Bgs->Opn]: Configure test script doesn't detect zlib. gzgets in -lz test fails.
- sniper@php.net#32710 [Opn->Bgs]: undefined reference to `krb5_rd_cred2'
- software-php at interfasys dot ch#32710 [Bgs]: undefined reference to `krb5_rd_cred2'
- software-php at interfasys dot ch#32710 [Bgs]: undefined reference to `krb5_rd_cred2'
- software-php at interfasys dot ch#32710 [Bgs]: undefined reference to `krb5_rd_cred2' was gzgets in -lz... no
- software-php at interfasys dot ch#32710 [Bgs]: undefined reference to `krb5_rd_cred2' was gzgets in -lz... no