From: phpbb dot mods at phpmix dot com Operating system: RHEL 3 PHP version: 4.3.9 PHP Bug Type: GD related Bug description: Error trying to build with GD 2.0.33
Description: ------------ Quoted from the online PHP manual: To enable GD-support configure PHP --with-gd[=DIR], where DIR is the GD base install directory. To use the recommended bundled version of the GD library (which was first bundled in PHP 4.3.0), use the configure option --with-gd. GD library requires libpng and libjpeg to compile. Well, I've tried to build PHP 4.3.9 with GD 2.0.33 using --with-gd=/usr/local and I get the following errors: ext/gd/gd.lo(.text+0x1267): In function `zif_imagecolormatch': /usr/local/directadmin/customapache/php-4.3.9/ext/gd/gd.c:807: undefined reference to `gdImageColorMatch' ext/gd/gd.lo(.text+0x2cd4): In function `zif_imagerotate': /usr/local/directadmin/customapache/php-4.3.9/ext/gd/gd.c:1117: undefined reference to `gdImageRotate' ext/gd/gd.lo(.text+0x5bf5): In function `zif_imageline': /usr/local/directadmin/customapache/php-4.3.9/ext/gd/gd.c:2189: undefined reference to `gdImageAALine' ext/gd/gd.lo(.text+0x6c7c): In function `zif_imageellipse': /usr/local/directadmin/customapache/php-4.3.9/ext/gd/gd.c:2322: undefined reference to `gdImageEllipse' ext/gd/gd.lo(.text+0x9d68): In function `zif_imageantialias': /usr/local/directadmin/customapache/php-4.3.9/ext/gd/gd.c:3883: undefined reference to `gdImageAntialias' I've tried to use other arguments combinations when configuring the build, but the result is PHP is still using its own bundled GD extension. -- Edit bug report at http://bugs.php.net/?id=31043&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31043&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31043&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31043&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31043&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31043&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31043&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31043&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31043&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31043&r=support Expected behavior: http://bugs.php.net/fix.php?id=31043&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31043&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31043&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31043&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31043&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31043&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31043&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31043&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31043&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=31043&r=mysqlcfg
