Bug #9932 Updated: Finds wrong -lz if there are lots of build options

From: Date: Sat, 28 Apr 2001 19:51:08 +0000
Subject: Bug #9932 Updated: Finds wrong -lz if there are lots of build options
Groups: php.dev 
Request: Send a blank email to php-dev+get-52779@lists.php.net to get a copy of this message
ID: 9932 Updated by: jmoore Reported By: pete_lancashire@columbia.com Old-Status: Feedback Status: Closed Bug Type: *Install and Config PHP Version: 4.0.4pl1 Assigned To: Comments: No feedback closing. Previous Comments: --------------------------------------------------------------------------- [2001-03-26 17:58:21] sniper@php.net Please check the config.log file for more info of what might be wrong. --Jani --------------------------------------------------------------------------- [2001-03-22 11:41:00] pete_lancashire@columbia.com System has libz in two places in /usr/openwin/lib /usr/openwin/lib/libz.so.1 in /usr/local/lib /usr/local/lib/libz.so -> libz.so.1.1.3 /usr/local/lib/libz.so.1 -> libz.so.1.1.3 /usr/local/lib/libz.so.1.1.3 The following configure options find the correct libz ------------------ ./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/httpd/conf --enable-track-vars --enable-ftp --enable-bcmath=yes --disable-debug --enable-memory-limit=yes --with-zlib=/usr/local The following generates the error checking whether to include zlib support... yes checking for gzgets in -lz... no configure: error: Zlib module requires zlib >= 1.0.9. ---------------------- ./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/httpd/conf --enable-track-vars --with-zlib=/usr/local --with-mysql=/usr/local/mysql --enable-ftp --with-tiff-dir=/usr/local --with-jpeg-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-gd=/usr/local --with-gdbm=/usr/local --enable-bcmath=yes --disable-debug --enable-memory-limit=yes --enable-calendar --enable-magic-quotes --with-db2=/usr/local/BerkeleyDB277 --with-xml I tried to eliminate one at a time different options but when I find one that by removing it will let the process finish, and then put that option into the above "success" configure above, the configure will work. I.e. it is not just one option causing the conflict. Current work around is to not use zlib for now. UPDATE: Removing the libz from /usr/openwin/lib works --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9932&edit=2

« previous php.dev (#52779) next »