#15000 [Opn->Csd]: gd1.3 : gdImageColorResolve : reference symbol not found
| From: | sander@php.net | Date: | Wed, 07 Aug 2002 17:32:46 +0000 |
| Subject: | #15000 [Opn->Csd]: gd1.3 : gdImageColorResolve : reference symbol not found | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16193@lists.php.net to get a copy of this message | ||
ID: 15000
Updated by: sander@php.net
Reported By: jmgseb@worldnet.fr
-Status: Open
+Status: Closed
Bug Type: GD related
Operating System: Solaris
PHP Version: 4.1.1
New Comment:
For some reason, the fix hasn't made it into the 4.2.x branch. It will
be in 4.3.0.
Previous Comments:
------------------------------------------------------------------------
[2002-08-07 13:26:53] jmgseb@worldnet.fr
The bug still appears in release 4.2.2 even if it has been fixed in CVS
in march.
------------------------------------------------------------------------
[2002-03-17 12:02:03] sander@php.net
This bug has been fixed in CVS.
------------------------------------------------------------------------
[2002-03-08 17:29:16] dward@maidencreek.com
Check bug #14426 for the problem.
I had the same problem when installing 4.1.2 and needed to change
ext/gd/php_gd.h to have
extern int gdImageColorResolve(...);
instead of
static int gdImageColorResolve(...);
------------------------------------------------------------------------
[2002-01-11 13:27:54] jmgseb@worldnet.fr
Every thing works fine with php 4.0.6 but not with the 4.1.1.
When starting apache 1.3.22 I've got the message :
rast.instdev2> /opt/apache_adm/bin/apachectl start
Syntax error on line 223 of /opt/apache_adm/conf/httpd.conf:
Cannot load /opt/apache_adm/libexec/libphp4.so into server: ld.so.1:
/opt/apache_adm/bin/httpd: fatal: relocation error: file /opt/a
pache_adm/libexec/libphp4.so: symbol gdImageColorResolve: referenced
symbol not found
/opt/apache_adm/bin/apachectl start: httpd could not be started
Configure options for php 4.1.1 :
./configure --with-apxs=/opt/apache_adm/bin/apxs \
--with-oracle=/opt/oracle/ora8170 \
--with-oci8=/opt/oracle/ora8170 \
--with-config-file-path=/opt/apache_adm/conf \
--enable-debug=no --enable-magic-quotes \
--enable-track-vars --enable-sigchild \
--without-mysql --prefix=/opt/php \
--with-gd=/opt/packages/instit/gd1.3 \
--with-ttf=/opt/freetype
Part of the configure output regarding GD :
checking whether to enable FTP support... no
checking whether to include GD support... yes
checking whether to enable truetype string function in gd... no
checking for the location of libjpeg... no
If configure fails try --with-jpeg-dir=<DIR>
checking for the location of libpng... no
If configure fails try --with-png-dir=<DIR> and --with-zlib-dir=<DIR>
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2)... no
If configure fails try --with-freetype-dir=<DIR>
checking whether to include include FreeType 1.x support... yes
checking whether to include T1lib support... no
checking for gdImageString16 in -lgd... (cached) yes
checking for gdImagePaletteCopy in -lgd... (cached) no
checking for gdImageCreateFromPng in -lgd... (cached) no
checking for gdImageCreateFromGif in -lgd... (cached) yes
checking for gdImageGif in -lgd... (cached) yes
checking for gdImageWBMP in -lgd... (cached) no
checking for gdImageCreateFromJpeg in -lgd... (cached) no
checking for gdImageCreateFromXpm in -lgd... (cached) no
checking for gdImageCreateFromGd2 in -lgd... (cached) no
checking for gdImageCreateTrueColor in -lgd... (cached) no
checking for gdImageSetTile in -lgd... (cached) yes
checking for gdImageSetBrush in -lgd... (cached) yes
checking for gdImageStringTTF in -lgd... (cached) no
checking for gdImageStringFT in -lgd... (cached) no
checking for gdImageStringFTEx in -lgd... (cached) no
checking for gdImageColorClosestHWB in -lgd... (cached) no
checking for gdImageColorResolve in -lgd... (cached) no
checking for gdImageGifCtx in -lgd... (cached) no
checking whether to include GNU gettext support... no
I'm using gd1.3 (for GIF support) and freetype 1.3.1.
I'm compiling php4.1.1 with no change regarding the 4.0.6 compilation.
No error during compilation.
With php4.0.6, no problem at apache statup (gd and ttf supported), with
4.1.1 I have got the previous message.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15000&edit=1