#29627 [Fbk->Opn]: Compile Failure with external gd 2.0.28
| From: | fev at ukrti dot com dot ua | Date: | Fri, 17 Sep 2004 15:54:23 +0000 |
| Subject: | #29627 [Fbk->Opn]: Compile Failure with external gd 2.0.28 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66358@lists.php.net to get a copy of this message | ||
ID: 29627
User updated by: fev at ukrti dot com dot ua
Reported By: fev at ukrti dot com dot ua
-Status: Feedback
+Status: Open
Bug Type: GD related
Operating System: Red Hat 7.3 with kernel 2.4.3
PHP Version: 4.3.8
New Comment:
I try to reinstall all fresh components:
Zlib-1.2.1
./configure --prefix=/usr/local/zlib-1.2.1
make
make install
libpng-1.2.7 (with zlib-1.2.1) to /usr/local/libpng-1.2.7
make
make install
gd-2.0.28
./configure --prefix=/usr/local/gd-2.0.28
--with-png=/usr/local/libpng-1.2.7 --with-jpeg=no
--with-freetype=no --with-xpm=no
make
make install
then php4-STABLE-200409161230
./configure --with-zlib=/usr/local/zlib-1.2.1
--with-gd=/usr/local/gd-2.0.28
--with-png-dir=/usr/local/libpng-1.2.7
make
and I get again:
ext/mysql/libmysql/my_tempnam.o(.text+0x53): In function `my_tempnam':
/src/php2/php4-STABLE-200409161230/ext/mysql/libmysql/my_tempnam.c:115:
the use of
tempnam' is dangerous, better use mkstemp'
ext/gd/gd.o(.text+0x817): In function `zm_deactivate_gd':
/src/php2/php4-STABLE-200409161230/ext/gd/gd.c:388: undefined reference
to `gdFontCacheShutdown'
ext/gd/gd.o(.text+0x356d): In function `zif_imagecreatefromstring':
/src/php2/php4-STABLE-200409161230/ext/gd/gd.c:1323: undefined
reference to `gdImageCreateFromJpegCtx'
ext/gd/gd.o(.text+0x3a52): In function `zif_imagecreatefromjpeg':
/src/php2/php4-STABLE-200409161230/ext/gd/gd.c:1507: undefined
reference to `gdImageCreateFromJpeg'
ext/gd/gd.o(.text+0x3a5c):/src/php2/php4-STABLE-200409161230/ext/gd/gd.c:1507:
undefined reference to `gdImageCreateFromJpegCtx'
ext/gd/gd.o(.text+0x4402): In function `zif_imagejpeg':
/src/php2/php4-STABLE-200409161230/ext/gd/gd.c:1760: undefined
reference to `gdImageJpegCtx'
ext/gd/gd.o(.text+0xa748): In function `_php_image_convert':
/src/php2/php4-STABLE-200409161230/ext/gd/gd.c:3756: undefined
reference to `gdImageCreateFromJpeg'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
Pleasure your comments?
Previous Comments:
------------------------------------------------------------------------
[2004-09-16 10:51:27] sniper@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
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.
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/29627
--
Edit this bug report at http://bugs.php.net/?id=29627&edit=1