php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2768 configure fails with --with-gd and --with-zlib
Submitted: 1999-11-19 19:29 UTC Modified: 1999-11-21 17:33 UTC
From: oliver at billix dot franken dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0 Latest CVS (19/11/1999) OS: Linux 2.0.38 libc5
Private report: No CVE-ID: None
 [1999-11-19 19:29 UTC] oliver at billix dot franken dot de
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!?)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-21 17:33 UTC] sr at cvs dot php dot net
Fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 09:01:30 2024 UTC