ID: 11811
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: GD related
Operating system: Cobalt Linux 5.0 (Kernel 2.2.14C
PHP Version: 4.0.6
Description: Cannot use ImageCopyResampled(), wrong GD version Reported

Upon examining the config.log file, I discovered that configure was ignoring the 
/home/matt/Packages/gd-2.0.1/ file, and instead attempting to link with 

Checking the Makefile for gd-2.0.1, I found that it does not (by default) produce a 

By running 'make libgd.a' for gd-2.0.1, then deleting PHP-4.0.6's config.cache, then 
running a make clean;make all, I was able to fix the problem.

Thanks for the quick response.  I apologise for not looking further into this issue 

Previous Comments:

[2001-06-30 15:23:05] [EMAIL PROTECTED]

Can you email me the config.log file? And are you absolutely sure all old gd header 
files are removed?



[2001-06-30 15:19:08] [EMAIL PROTECTED]

Did you remove the config.cache file?


[2001-06-30 15:12:37] [EMAIL PROTECTED]

I previously ran GD 1.8.3 with PHP 4.0.5, then upgraded to GD 2.0.1 and PHP 4.0.6 to 
take advantage of ImageCopyResampled().  

However, configure is not setting #define HAVE_LIBGD20 no matter what I do.  I have 
even removed all reminants of GD 1.8.4, but still to no avail. 

Here's all the relevant information I can provide from phpinfo():

[Configure Command]
'./configure' '--with-xml' '--with-pgsql=/home/pgsql' '--with-jpeg' 
'--with-jpeg-dir=/home/matt/Packages/jpeg-6b' '--with-t1lib' 
'--with-gd=/home/matt/Packages/gd-2.0.1' '--with-imap' '--with-pspell' '--with-swf' 
'--with-zlib' '--enable-ftp' '--with-pdflib=/usr/local/lib' '--with-apxs' 
'--with-gdbm' '--with-mysql' '--enable-filepro' '--enable-dbx' '--enable-bcmath' 
'--enable-trans-sid' '--enable-yp' '--with-mcal=/usr/local/mcal' 

GD Support: enabled 
GD Version: 1.6.2 or higher 
T1Lib Support: enabled 
JPG Support: enabled 
WBMP Support: enabled 


Full Bug description available at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to