ID:               20125
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         GD related
 Operating System: Redhat 7.2
 PHP Version:      4.2.3
 New Comment:

well, i'm getting all kind's of error:

/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24556 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24609 "configure"



/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24662 "configure"



/tmp/ccHr63vt.o: In function `main':
/usr/local/src/php-4.2.3/configure:24722: undefined reference to
`gdImageCreateFromGif'
/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24715 "configure"


/tmp/ccrawnoi.o: In function `main':
/usr/local/src/php-4.2.3/configure:24775: undefined reference to
`gdImageGif'
/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24768 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24821 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24874 "configure"



/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24927 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 24980 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 25033 "configure"



/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 25086 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 25139 "configure"


/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
configure: failed program was:
#line 25192 "configure"


/tmp/ccLorihZ.o: In function `main':
/usr/local/src/php-4.2.3/configure:25464: undefined reference to
`gdImageGifCtx'
/usr/local/gd/lib/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
collect2: ld returned 1 exit status


/usr/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
configure: failed program was:
#line 25631 "configure"
configure: failed program was:
#line 25457 "configure"

i don't know what's wrong...


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

[2002-10-27 15:23:19] [EMAIL PROTECTED]

what does config.log say?

Derick


------------------------------------------------------------------------

[2002-10-27 15:22:03] [EMAIL PROTECTED]

i've installed GD-4.0.2 with jpeg,libpng,zlib and freetype2.

but when i tried to install GD under PHP, i'm getting the folowing:

checking for GD support... yes
checking whether to enable truetype string function in GD... yes
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... yes
checking for the location of libpng... yes
checking for png_write_image in -lpng... yes
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2)... yes
checking for FreeType 1.x support... no
checking for T1lib support... yes
checking for T1_LoadFont in -lt1... yes
checking for gdImageString16 in -lgd... no
checking for gdImagePaletteCopy in -lgd... no
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... no
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... no
checking for gdImageCreateFromGd2 in -lgd... no
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... no
checking for gdImageSetBrush in -lgd... no
checking for gdImageStringTTF in -lgd... no
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... no
checking for gdImageColorResolve in -lgd... no
checking for gdImageGifCtx in -lgd... no

so as you can see, it's even dedecting the GD2 function, but it's not
working.

i've spoken with the creator of GD, and he's positieve that it's an
error in PHP.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20125&edit=1

Reply via email to