ID:               15000
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         GD related
 Operating System: Solaris
 PHP Version:      4.1.1
 New Comment:

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(...);


Previous Comments:
------------------------------------------------------------------------

[2002-01-11 13:27:54] [EMAIL PROTECTED]

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

Reply via email to