#25622 [Opn->Bgs]: make failed stating: undefined reference to `gdImageCreateFromPngCtx
| From: | sniper@php.net | Date: | Mon, 22 Sep 2003 10:59:11 +0000 |
| Subject: | #25622 [Opn->Bgs]: make failed stating: undefined reference to `gdImageCreateFromPngCtx | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47942@lists.php.net to get a copy of this message | ||
ID: 25622
Updated by: sniper@php.net
Reported By: cube660 at verizon dot net
-Status: Open
+Status: Bogus
-Bug Type: Compile Failure
+Bug Type: GD related
Operating System: FreeBSD 4.4-RELEASE
PHP Version: 4.3.3
New Comment:
# rm config.cache
# ./configure --with-gd (+ some other options propably needed, check
./configure --help for more info)
# make clean && make
Previous Comments:
------------------------------------------------------------------------
[2003-09-22 00:18:38] cube660 at verizon dot net
Tried both, when using the bundle, I used --with-gd, when I tried with
my systems gd, used --with-gd=/usr/local/
Should I perhaps, go back and re-install gd 2.0.15?
Could the system gd somehow be interfering with the bundled?
I installed the gd before I was aware the php433 had gd built in.
------------------------------------------------------------------------
[2003-09-21 23:55:26] iliaa@php.net
Are you using the bundled GD or the GD library avaliable on your
system?
------------------------------------------------------------------------
[2003-09-21 21:05:39] cube660 at verizon dot net
Description:
------------
Hello,
Can someone help me?
'make' fails with the following erros:
/usr/local/www/vhosts/cubetech.com/php/php-4.3.3/ext/gd/gd.c(.text+0x138d):
undefined reference to `gdImageCreateFromPngCtx'
/usr/local/www/vhosts/cubetech.com/php/php-4.3.3/ext/gd/gd.c(.text+0x13a1):
undefined reference to `gdImageCreateFromGifCtx'
ext/gd/gd.lo: In function `zif_imagecreatefromgif':
/usr/local/www/vhosts/cubetech.com/php/php-4.3.3/ext/gd/gd.c(.text+0x1729):
undefined reference to `gdImageCreateFromGifCtx'
/usr/local/www/vhosts/cubetech.com/php/php-4.3.3/ext/gd/gd.c(.text+0x172f):
undefined reference to `gdImageCreateFromGif'
ext/gd/gd.lo: In function `zif_imagecreatefrompng':
/usr/local/www/vhosts/cubetech.com/php/php-4.3.3/ext/gd/gd.c(.text+0x17a9):
undefined reference to `gdImageCreateFromPngCtx'
/usr/local/www/vhosts/cubetech.com/php/php-4.3.3/ext/gd/gd.c(.text+0x17af):
undefined reference to `gdImageCreateFromPng'
ext/gd/gd.lo: In function `zif_imagepng':
/usr/local/www/vhosts/cubetech.com/php/php-4.3.3/ext/gd/gd.c(.text+0x1e38):
undefined reference to `gdImagePngCtx'
ext/gd/gd.lo: In function `_php_image_convert':
/usr/local/www/vhosts/cubetech.com/php/php-4.3.3/ext/gd/gd.c(.text+0x78e0):
undefined reference to `gdImageCreateFromGif'
/usr/local/www/vhosts/cubetech.com/php/php-4.3.3/ext/gd/gd.c(.text+0x7920):
undefined reference to `gdImageCreateFromPng'
*** Error code 1
I am using Apache/1.3.22 on a FreeBSD 4.4-RELEASE system, I am using
--with-gd at compile time, and all compiles well. However 'make' fails
with the errors stated above. This is an attempted upgrade from PHP
4.3.1 and I do have gd-2.0.15 installed.
Can you please help?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25622&edit=1