#29627 [Opn->Fbk]: Compile Failure with external gd 2.0.28
| From: | sniper@php.net | Date: | Thu, 16 Sep 2004 08:51:29 +0000 |
| Subject: | #29627 [Opn->Fbk]: Compile Failure with external gd 2.0.28 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66276@lists.php.net to get a copy of this message | ||
ID: 29627
Updated by: sniper@php.net
Reported By: fev at ukrti dot com dot ua
-Status: Open
+Status: Feedback
-Bug Type: Compile Failure
+Bug Type: GD related
Operating System: Red Hat 7.3 with kernel 2.4.3
PHP Version: 4.3.8
New Comment:
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
Also make sure you have exactly ONE version of GD libraries installed
on your system. The way to make sure is to delete every occurance of
the gd related header and library files and reinstall it.
Previous Comments:
------------------------------------------------------------------------
[2004-09-01 09:10:06] fev at ukrti dot com dot ua
Bug has still alive with php 4.3.9RC2
------------------------------------------------------------------------
[2004-08-25 09:14:34] fev at ukrti dot com dot ua
Bug has still alive.
I have tried php source php4-STABLE-200408250430.
My test configure command:
./configure --with-zlib=/usr/local --with-gd=/usr/local/gd2
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-ttf
--with-freetype-dir=/usr/local/freetype2 --enable-gd-native-ttf
--with-gettext
Result of test compiling:
ext/gd/gd.o(.text+0x3639): In function `zif_imagecreatefromstring':
/src/php_dev/php4-STABLE-200408250430/ext/gd/gd.c:1341: undefined
reference to `gdImageCreateFromGifCtx'
ext/gd/gd.o(.text+0x3a62): In function `zif_imagecreatefromgif':
/src/php_dev/php4-STABLE-200408250430/ext/gd/gd.c:1497: undefined
reference to `gdImageCreateFromGifCtx'
ext/gd/gd.o(.text+0x3a75):/src/php_dev/php4-STABLE-200408250430/ext/gd/gd.c:1497:
undefined reference to `gdImageCreateFromGif'
ext/gd/gd.o(.text+0x43cc): In function `zif_imagegif':
/src/php_dev/php4-STABLE-200408250430/ext/gd/gd.c:1732: undefined
reference to `gdImageGifCtx'
ext/gd/gd.o(.text+0xae14): In function `_php_image_convert':
/src/php_dev/php4-STABLE-200408250430/ext/gd/gd.c:3746: undefined
reference to `gdImageCreateFromGif'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
------------------------------------------------------------------------
[2004-08-24 01:00:05] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2004-08-16 03:27:48] iliaa@php.net
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
------------------------------------------------------------------------
[2004-08-12 08:33:40] fev at ukrti dot com dot ua
Description:
------------
When i try compile php 4.3.8 with external GD library 2.0.28 (with
support GIF read, create) compiling hasn't done. It stopped when find
fuction like óreateGIF in the gd 2.0.28.
Reproduce code:
---------------
./configure --with-mysql=/usr/local/mysql
--with-mysql-sock=/usr/local/mysql/mysql.sock --with-zlib=/usr/local
--with-openssl=/usr/local/ssl --with-curl=/usr/local
--with-gd=/usr/local/gd2 --with-jpeg-dir=/usr/local
--with-png-dir=/usr/local --with-ttf
--with-freetype-dir=/usr/local/freetype2 --enable-gd-native-ttf
--with-gettext --enable-calendar --enable-ftp --enable-sockets
Expected result:
----------------
.....
ext/gd/gd.o(.text+0x3639): In function `zif_imagecreatefromstring':
/src/php/php-4.3.8/ext/gd/gd.c:1336: undefined reference to
`gdImageCreateFromGifCtx'
ext/gd/gd.o(.text+0x3a52): In function `zif_imagecreatefromgif':
/src/php/php-4.3.8/ext/gd/gd.c:1492: undefined reference to
`gdImageCreateFromGif'
ext/gd/gd.o(.text+0x3a5c):/src/php/php-4.3.8/ext/gd/gd.c:1492:
undefined reference to `gdImageCreateFromGifCtx'
ext/gd/gd.o(.text+0x4392): In function `zif_imagegif':
/src/php/php-4.3.8/ext/gd/gd.c:1727: undefined reference to
`gdImageGifCtx'
ext/gd/gd.o(.text+0xade4): In function `_php_image_convert':
/src/php/php-4.3.8/ext/gd/gd.c:3741: undefined reference to
`gdImageCreateFromGif'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29627&edit=1