[PHP-DEV] Bug #2768: configure fails with --with-gd and --with-zlib From: oliver <email protected>
Date: 11/19/99

From: oliver <email protected>
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!?)

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>