PHP 4.0 Bug #4569: configure fails to correctly identify GD 1.8.x functions available

From: Date: Wed, 24 May 2000 08:19:55 +0000
Subject: PHP 4.0 Bug #4569: configure fails to correctly identify GD 1.8.x functions available
Groups: php.dev 
Request: Send a blank email to php-dev+get-19361@lists.php.net to get a copy of this message
From: achowe@snert.com Operating system: Linux RH 6.1 PHP version: 4.0.0 Release PHP Bug Type: Installation problem Bug description: configure fails to correctly identify GD 1.8.x functions available (Problem also exists with 3.0.16) I installed gd 1.8.2, libpng 1.0.9, zlib 1.1.3, jpeg 6b, compiled and installed into the default locations. However, everytime I run PHP configure, it fails to find : gdImageColorResolve gdImageCreateFromPng gdImageCreateFromJpeg I stumbled across this yesterday when building PHP 3.0.16 and found duplicate symbols that were defined both in PHP and GD. Downloading PHP 4.0.0 today, I still find the problem. My work around was to modify config.h and define explicitly by hand : #define HAVE_GD_PNG 1 #define HAVE_GD_JPG 1 #define HAVE_GD_COLORRESOLVE 1 And modify the Makefile macro APXS_LDFLAGS to add : -ljpeg -lpng

« previous php.dev (#19361) next »