ID: 13171
Updated by: sniper
Old Status: Open
Status: Feedback
Old Bug Type: *Compile Issues
Bug Type: GD related
Operating System: red hat linux
PHP Version: 4.0.6
New Comment:

Please check you config.log for the reason why the
test for PNP support in GD library fails.


Previous Comments:

[2001-09-06 05:15:34] [EMAIL PROTECTED]

I'm having the same problem on a Sun Cobalt RaQ installing  PHP 4.0.6 and libgd 1.8.4 
and libpng 1.2.0

Running ldconfig -v shows me: (excerpt)
/usr/lib: => => =>
/usr/local/lib: =>
/usr/local/src/libpng/libpng-1.2.0: =>
/usr/lib: => =>

So libpng seems to be installed properly. But no ImageCreateFromPng!

Running phpinfo(); shows me:
GD Support enabled 
GD Version 1.6.2 or higher 
FreeType Support enabled 
FreeType Linkage with TTF library 
WBMP Support enabled 

I have tried in the php_config.h to insert the line 
#define HAVE_GD_PNG 1 

and my command line is:

./configure --prefix=/usr --with-regex=system --enable-calendar --with-db 
--without-dom --enable-filepro --with-gettext --enable-sysvsem --enable-sysvshm 
--enable-track-vars --enable-trans-sid --disable-debug --with-imap=shared --enable-ftp 
--with-gd --with-apxs --with-zlib --with-pcregex=/usr --enable-sockets 
--enable-freetype-4bit-antialias-hack --with-xml=shared,/usr --with-yp 
 --with-ttf --with-apxs --with-zlib --with-png-dir=/usr/local

Any ideas?


Edit this bug report 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