Bug #12111 Updated: gdImageCreateFromPng dos not work

From: Date: Thu, 12 Jul 2001 18:20:35 +0000
Subject: Bug #12111 Updated: gdImageCreateFromPng dos not work
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-59855@lists.php.net to get a copy of this message
ID: 12111 User updated by: blon@nfrance.com Reported By: blon@nfrance.com Status: Analyzed Bug Type: *Compile Issues Operating System: Linux PHP Version: 4.0.6 New Comment: ./configure \ --with-pgsql=/usr/local \ --with-mysql=/usr/local \ --with-imagic \ --with-imap \ --enable-track-vars \ --enable-safe-mode \ --enable-memory-limit \ --enable-magic-quotes \ --enable-roxen-zts \ --with-gd=/usr/ \ --with-png-dir=/usr \ --with-jpeg-dir=/usr \ --with-t1lib \ --with-cpdflib \ --enable-ftp \ --enable-calendar \ --with-gdbm \ --enable-zlib=/usr/ \ --with-zlib-dir=/usr \ --with-gettext \ --with-xml \ --with-dom \ --with-swf \ --with-apache=/usr/local/src/apache_1.3.19 Previous Comments: ------------------------------------------------------------------------ [2001-07-12 14:05:33] rasmus@php.net What is your ./configure line? Make sure you specify where your libpng library and header files can be found under. eg. --with-png-dir=/usr ------------------------------------------------------------------------ [2001-07-12 13:52:48] blon@nfrance.com Hi Upgrading from php-4.0.4pl1 to php-4.0.6 gdImageCreateFromPng stops working. We have this problem on 3 Linux servers but it works fine open OpenBSD 2.7 On php-4.0.4pl1, configure gives : checking whether to enable truetype string function in gd... no checking for libjpeg (needed by gd-1.8+)... yes checking for libXpm (needed by gd-1.8+)... no checking for gdImageString16 in -lgd... (cached) yes checking for gdImagePaletteCopy in -lgd... (cached) yes checking for gdImageColorClosestHWB in -lgd... (cached) yes checking for gdImageColorResolve in -lgd... (cached) yes checking for gdImageCreateFromPng in -lgd... (cached) yes checking for gdImageCreateFromGif in -lgd... (cached) no checking for gdImageWBMP in -lgd... (cached) yes checking for gdImageCreateFromJpeg in -lgd... (cached) yes checking for gdImageCreateFromXpm in -lgd... (cached) no All is OK : checking for gdImageCreateFromPng in -lgd... (cached) yes On php-4.0.61, configure gives : checking for gdImageString16 in -lgd... yes checking for gdImagePaletteCopy in -lgd... yes checking for gdImageCreateFromPng in -lgd... no checking for gdImageCreateFromGif in -lgd... no checking for gdImageWBMP in -lgd... yes checking for gdImageCreateFromJpeg in -lgd... no checking for gdImageCreateFromXpm in -lgd... yes checking for gdImageCreateTrueColor in -lgd... no checking for gdImageSetTile in -lgd... yes checking for gdImageSetBrush in -lgd... yes checking for gdImageStringFTEx in -lgd... no checking for gdImageColorClosestHWB in -lgd... yes checking for gdImageColorResolve in -lgd... yes checking for gdImageGifCtx in -lgd... no Here, the fonction is not found : checking for gdImageCreateFromPng in -lgd... no All is Ok on an OpenBSD 2.7 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12111&edit=1

« previous php.dev (#59855) next »