Bug #12111 Updated: gdImageCreateFromPng dos not work

From: Date: Thu, 12 Jul 2001 18:05:33 +0000
Subject: Bug #12111 Updated: gdImageCreateFromPng dos not work
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-59854@lists.php.net to get a copy of this message
ID: 12111 Updated by: rasmus Reported By: blon@nfrance.com Old Status: Status: Analyzed Bug Type: *Compile Issues Operating System: Linux PHP Version: 4.0.6 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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 (#59854) next »