php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25622 make failed stating: undefined reference to `gdImageCreateFromPngCtx
Submitted: 2003-09-21 21:05 UTC Modified: 2003-09-22 06:59 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: cube660 at verizon dot net Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.3.3 OS: FreeBSD 4.4-RELEASE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cube660 at verizon dot net
New email:
PHP Version: OS:

 

 [2003-09-21 21:05 UTC] 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?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-21 23:55 UTC] iliaa@php.net
Are you using the bundled GD or the GD library avaliable on your system?
 [2003-09-22 00:18 UTC] 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-22 06:59 UTC] sniper@php.net
# rm config.cache 
# ./configure --with-gd (+ some other options propably needed,  check ./configure --help for more info)
# make clean && make

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 15:01:27 2024 UTC