PHP 4.0 Bug #3978 Updated: checking for gdImageCreateFromPng in -lgd... no (yes in 4.0 Beta 3)

From: Date: Wed, 16 Aug 2000 18:27:58 +0000
Subject: PHP 4.0 Bug #3978 Updated: checking for gdImageCreateFromPng in -lgd... no (yes in 4.0 Beta 3)
Groups: php.dev 
Request: Send a blank email to php-dev+get-29175@lists.php.net to get a copy of this message
Hi, I have the same exact problem since beta3. With beta3, gd+png support was fine, then, starting with PHP 4.0.1-dev (because suEXEC support was missing in between and I have switched from module to cgi), png wasn't available anymore for me on this specific platform (whereas it works fine with RH6.2 with brand new gd and png libs). So, I tried with libpng 1.0.6, 1.0.7 and with gd from 1.8 to 1.8.3 but I can't get png support. I now stick with jpeg support via GD. config.log says: configure:14909: checking for gdImageCreateFromPng in -lgd configure:14928: gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib -R/u /guest/www/mbin/i386-NetBSD/lib -L/u/guest/www/mbin/i386-NetBSD/lib -L/u/guest/w ww/mbin/i386-NetBSD/lib conftest.c -lgd -lgd -lcurl -lresolv -lm -lcrypt -lres olv -lz -lpng 1>&5 png.o: Undefined symbol `_crc32' referenced from text segment png.o: Undefined symbol `_crc32' referenced from text segment png.o: Undefined symbol `_inflateReset' referenced from text segment pngread.o: Undefined symbol `_inflateInit_' referenced from text segment pngread.o: Undefined symbol `_inflateInit_' referenced from text segment pngread.o: Undefined symbol `_inflate' referenced from text segment pngread.o: Undefined symbol `_inflateEnd' referenced from text segment pngrutil.o: Undefined symbol `_inflate' referenced from text segment pngrutil.o: Undefined symbol `_inflateReset' referenced from text segment pngrutil.o: Undefined symbol `_inflateReset' referenced from text segment pngrutil.o: Undefined symbol `_inflate' referenced from text segment pngrutil.o: Undefined symbol `_inflateReset' referenced from text segment pngwrite.o: Undefined symbol `_deflate' referenced from text segment pngwrite.o: Undefined symbol `_deflateEnd' referenced from text segment pngwutil.o: Undefined symbol `_deflate' referenced from text segment pngwutil.o: Undefined symbol `_deflate' referenced from text segment pngwutil.o: Undefined symbol `_deflateReset' referenced from text segment pngwutil.o: Undefined symbol `_deflateInit2_' referenced from text segment pngwutil.o: Undefined symbol `_deflate' referenced from text segment pngwutil.o: Undefined symbol `_deflateReset' referenced from text segment pngwutil.o: Undefined symbol `_deflate' referenced from text segment Here's my ./configure, this is on NetBSD 1.3.3 with gcc 2.7.2.2 phpinfo() with the same config but curl is here: http://www.epita.fr:8000/~cahagn_o/php/info.php ./configure --with-config-file-path=/space/www/etc/httpd/conf/php_cgi \ --enable-discard-path \ --with-gd=/u/guest/www/mbin/i386-NetBSD \ --with-mysql \ --with-dbase \ --with-zlib=/u/guest/www/mbin/i386-NetBSD \ --with-mcrypt=/u/guest/www/mbin/i386-NetBSD \ --with-mhash=/u/guest/www/mbin/i386-NetBSD \ --enable-ftp \ --enable-inline-optimization \ --with-jpeg-dir=/u/guest/www/mbin/i386-NetBSD \ --with-curl=/u/guest/www/mbin/i386-NetBSD \ --with-imap=/u/guest/www/mbin/i386-NetBSD/lib I'll try to look further ext/gd/config.m4 when I have more time to see what's changed since beta3, but if anyone has an idea about it... -- Olivier.Cahagne@epita.fr

« previous php.dev (#29175) next »