Bug #2768: configure fails with --with-gd and --with-zlib
| From: | oliver at billix dot franken dot de | Date: | Fri, 19 Nov 1999 18:29:19 +0000 |
| Subject: | Bug #2768: configure fails with --with-gd and --with-zlib | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12780@lists.php.net to get a copy of this message | ||
From: oliver@billix.franken.de
Operating system: Linux 2.0.38 libc5
PHP version: 3.0 Latest CVS (19/11/1999)
PHP Bug Type: Compile Failure
Bug description: configure fails with --with-gd and --with-zlib
The following configure line:
./configure --with-apache=/public/install/apache_1.3.9 --with-gd=/usr/local/packages/gd-1.5
--with-zlib
fails with:
checking whether to include zlib support... yes
checking for gzgets in -lz... no
configure: error: Zlib module requires zlib >= 1.0.9.
config.log:
configure:10444: checking whether to include zlib support
configure:10455: checking for gzgets in -lz
configure:10474: gcc -o conftest -g -O2 conftest.c -lz -lgd -lm -ldl 1>&5
/usr/i486-linux/bin/ld: cannot open -lgd: No such file or directory
Workaround:
First configure without gd, than use above configure command and it works (because of
config.cache!?)