#29627 [Opn->Fbk]: Compile Failure with external gd 2.0.28
| From: | iliaa@php.net | Date: | Mon, 16 Aug 2004 01:27:49 +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-64657@lists.php.net to get a copy of this message | ||
ID: 29627
Updated by: iliaa@php.net
Reported By: fev at ukrti dot com dot ua
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
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
Previous Comments:
------------------------------------------------------------------------
[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