PHP 4.0 Bug #7265: ./configure --with-zlib fails

From: Date: Tue, 17 Oct 2000 02:29:00 +0000
Subject: PHP 4.0 Bug #7265: ./configure --with-zlib fails
Groups: php.dev 
Request: Send a blank email to php-dev+get-35214@lists.php.net to get a copy of this message
From: elkner@linofee.org Operating system: Linux-slackware 7.0 PHP version: 4.0.3pl1 PHP Bug Type: Compile Failure Bug description: ./configure --with-zlib fails ./configure --prefix=/opt/php4 ... --with-zlib-dir=/usr --with-zlib=/usr ... ... checking for compress in -lz... yes ... checking for gzgets in -lz... no configure: error: Zlib module requires zlib >= 1.0.9. Environment: gcc 2.95.2 /usr/include /usr/include/zconf.h /usr/include/zlib.h /usr/lib /usr/lib/libz.a /usr/lib/libz.so /usr/lib/libz.so.1 /usr/lib/libz.so.1.1.3 libz.a as well as libz.so contain gzgets() for sure and compilation of: #include "confdefs.h" char gzgets();int main() { gzgets() ; return 0; } compiles without any errors linked against -lz and returns 0. There are no other libz s on the system. So why complains configure about not having gzgets() ? Any hints, how to fix/debug that problem ? -- Edit Bug report at: http://bugs.php.net/?id=7265&edit=1

« previous php.dev (#35214) next »