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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: oliver at billix dot franken dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-21 17:33 UTC] sr at cvs dot php dot net
Fixed in CVS.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 06:00:02 2026 UTC