ID: 29627 User updated by: fev at ukrti dot com dot ua Reported By: fev at ukrti dot com dot ua Status: Open Bug Type: GD related Operating System: Red Hat 7.3 with kernel 2.4.3 PHP Version: 4.3.8 New Comment:
Sorry for Previous my post. It was my fault. But problem has still alive: Here new info about it. I said early I reinstall fresh component: zlib-1.2.1 libpng-1.2.7 gd-2.0.28 libjpeg-v6b freetype-2.1.9 And then I tried to compile php4-STABLE-200409161230 with configure: ./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 --with-jpeg-dir=/usr/local --with-ttf --with-freetype-dir=/usr/local/freetype-2.1.9 --enable-gd-native-ttf Compile was done. Then I tried to compile full package of my APACHE+MYSQL+PHP and every time i get compile FAILURE. ./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 --with-jpeg-dir=/usr/local --with-ttf --with-freetype-dir=/usr/local/freetype-2.1.9 --enable-gd-native-ttf --with-mysql=/usr/local/mysql --with-mysql-sock=/usr/local/mysql/mysql.sock --with-openssl=/usr/local/ssl --with-curl=/usr/local --with-gettext --enable-calendar --enable-ftp --enable-sockets I spent a lot of time for found this reason. I explored that when I add --with-curl=/usr/local compile failure (Curl had version 7.11.1) Then I upgrade curl to fresh version 7.12.1 and recompile my old package APACHE+MYSQL+PHP (with php 4.3.8, gd 2.0.23 bundle and new curl) It was fine. Then i try recompile only new php4-STABLE-200409161230 with new curl and gd 2.0.28 like this: ./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 --with-jpeg-dir=/usr/local --with-ttf --with-freetype-dir=/usr/local/freetype-2.1.9 --enable-gd-native-ttf --with-curl=/usr/local And get compile failure again. ext/gd/gd.o(.text+0x35d9): In function `zif_imagecreatefromstring': /src/php2/php4-STABLE-200409161230/ext/gd/gd.c:1341: undefined reference to `gdImageCreateFromGifCtx' ext/gd/gd.o(.text+0x3a02): In function `zif_imagecreatefromgif': /src/php2/php4-STABLE-200409161230/ext/gd/gd.c:1497: undefined reference to `gdImageCreateFromGifCtx' ext/gd/gd.o(.text+0x3a15):/src/php2/php4-STABLE-200409161230/ext/gd/gd.c:1497: undefined reference to `gdImageCreateFromGif' ext/gd/gd.o(.text+0x436c): In function `zif_imagegif': /src/php2/php4-STABLE-200409161230/ext/gd/gd.c:1732: undefined reference to `gdImageGifCtx' ext/gd/gd.o(.text+0xa474): In function `_php_image_convert': /src/php2/php4-STABLE-200409161230/ext/gd/gd.c:3746: undefined reference to `gdImageCreateFromGif' collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 Previous Comments: ------------------------------------------------------------------------ [2004-09-17 17:54:20] fev at ukrti dot com dot ua 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? ------------------------------------------------------------------------ [2004-09-16 10:51:27] [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 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". ------------------------------------------------------------------------ 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