ID:               24310
 Comment by:       jaisor at yahoo dot com
 Reported By:      kkwan at comp dot hkbu dot edu dot hk
 Status:           No Feedback
 Bug Type:         GD related
 Operating System: SuSE 8.2
 PHP Version:      4.3.2
 New Comment:

I was experiencing the same problem, I think there is a glitch
somewhere in the configure when its deciding to use internal GD or
external. I tried to compile PHP 4.3.3 with GD 2.0.15

However, I was able to compile succesfully with:
./configure \
    --with-gd \
    --enable-gd-native-ttf \
    --with-apache=../apache_1.3.28 \
    --with-zlib-dir=/usr/local/lib


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

[2003-08-19 15:09:13] frank at cybernation dot nl

I got problems when making php-4.3.2 / php-4.3.3RC(1-4). With al these
version i got the same problem, i'am using gd 2.0.11. Php 4.3.1
compiled and runs fine.

Error code:

ext/gd/gd.lo: In function `zm_deactivate_gd':
/opt/install/php-4.3.3RC4/ext/gd/gd.c:382: undefined reference to
`gdFreeFontCache'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

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

[2003-07-02 04:57:16] kelma at sk-datentechnik dot com

i´m having the same problem.

php 4.3.2 with gd 2.0.7 does not compile - quits with the same
undefined reference error.

php 4.3.1 compiled and runs fine!

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

[2003-06-29 21:18:32] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



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

[2003-06-24 08:57:32] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



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

[2003-06-24 03:51:04] kkwan at comp dot hkbu dot edu dot hk

Description:
------------
I have a problems when in 'make' stage in my php 4.3.2
with gd 2.0.15
installation, it shows a lot if undefined references:

ext/gd/gd.o(.text+0x5f7): In function `zm_deactivate_gd':
/usr/local/src/php-4.3.2/ext/gd/gd.c:382: undefined reference to
`gdFreeFontCache'
ext/gd/gd.o(.text+0x2f01): In function `zif_imagecreatefromstring':
/usr/local/src/php-4.3.2/ext/gd/gd.c:1313: undefined reference to
`gdImageCreateFromJpegCtx'
ext/gd/gd.o(.text+0x3297): In function `zif_imagecreatefromjpeg':
/usr/local/src/php-4.3.2/ext/gd/gd.c:1497: undefined reference to
`gdImageCreateFromJpegCtx'
ext/gd/gd.o(.text+0x329c):/usr/local/src/php-4.3.2/ext/gd/gd.c:1497:
undefined reference to `gdImage
CreateFromJpeg'
ext/gd/gd.o(.text+0x39e7): In function `zif_imagejpeg':
/usr/local/src/php-4.3.2/ext/gd/gd.c:1736: undefined reference to
`gdImageJpegCtx'
ext/gd/gd.o(.text+0x3eb8): In function `zif_imagecolorat':
/usr/local/src/php-4.3.2/ext/gd/gd.c:1855: undefined reference to
`gdImageBoundsSafe'
ext/gd/gd.o(.text+0x3f04):/usr/local/src/php-4.3.2/ext/gd/gd.c:1863:
undefined reference to `gdImage
BoundsSafe'
ext/gd/gd.o(.text+0x9466): In function `_php_image_convert':
/usr/local/src/php-4.3.2/ext/gd/gd.c:3724: undefined reference to
`gdImageCreateFromJpeg'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

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

The following is my configure setting:

./configure \
--with-mysql=/usr/local/mysql \
--with-xml \
--with-apache=/usr/local/src/apache_1.3.27 \
--enable-track-vars \
--with-gd \
--with-zlib-dir=/usr/local/lib \
--with-jpg-dir=/usr/local/lib \
--with-png-dir=/usr/local/lib \
--enable-gd-native-ttf 


Can anyone one tell me what the problem is?
Thank you very much.



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


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

Reply via email to