#31043 [Opn->Fbk]: Error trying to build with GD 2.0.33
ID: 31043
Updated by: derick@php.net
Reported By: phpbb dot mods at phpmix dot com
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: RHEL 3
PHP Version: 4.3.9
New Comment:
We recommend the bundled GD version, why to you want to use another
one?
Previous Comments:
------------------------------------------------------------------------
[2004-12-09 23:00:34] phpbb dot mods at phpmix dot com
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 this bug report at http://bugs.php.net/?id=31043&edit=1
Thread (9 messages)