Code Comments
Programming Forum and web based access to our favorite programming groups.I have searched for hours about this compile error. I am trying to recompile my php. I do: ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-ap xs=/usr/local/apache/bin/apxs --with-gd=/usr/lib --with-zlib-dir=/usr/lib configure goes fine.... then I do make and I get these errors: ext/gd/gd.lo: In function `zif_imagecolormatch': /home/larry/php-4.3.4/ext/gd/gd.c:797: undefined reference to `gdImageColorM atch' ext/gd/gd.lo: In function `zif_imagerotate': /home/larry/php-4.3.4/ext/gd/gd.c:1107: undefined reference to `gdImageRotat e' ext/gd/gd.lo: In function `zif_imageline': /home/larry/php-4.3.4/ext/gd/gd.c:2165: undefined reference to `gdImageAALin e' ext/gd/gd.lo: In function `zif_imageellipse': /home/larry/php-4.3.4/ext/gd/gd.c:2298: undefined reference to `gdImageEllip se' ext/gd/gd.lo: In function `zif_imageantialias': /home/larry/php-4.3.4/ext/gd/gd.c:3852: undefined reference to `gdImageAntia lias' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 I am installing a dating service and this is in regards to the image uploads , displays and such... I have another program that uses imagemagick and it w orks fine, I am not to clear on the differences but I could really use to ge t this working correctly. for the record I have upgraded to the latest gd library, but when I do my ph pinfo it says I am using the bundled version and i am not seeing jpeg suppor t but even when I try to do a gif, I get the same errors on upload ont he so ftware i am trying to install. any help would be greatly appreciated. GD Support enabled GD Version bundled (2.0.15 compatible) GIF Read Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled
Post Follow-up to this messageBTW I am using redhat 7.2, apache 1.3 and php 4.3.4 ----- Original Message ----- From: Larry Clark To: php-install@lists.php.net Sent: Saturday, August 21, 2004 9:57 PM Subject: recompile erorrs.... I have searched for hours about this compile error. I am trying to recompile my php. I do: ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apx s=/usr/local/apache/bin/apxs --with-gd=/usr/lib --with-zlib-dir=/usr/lib configure goes fine.... then I do make and I get these errors: ext/gd/gd.lo: In function `zif_imagecolormatch': /home/larry/php-4.3.4/ext/gd/gd.c:797: undefined reference to `gdImageColorM atch' ext/gd/gd.lo: In function `zif_imagerotate': /home/larry/php-4.3.4/ext/gd/gd.c:1107: undefined reference to `gdImageRotat e' ext/gd/gd.lo: In function `zif_imageline': /home/larry/php-4.3.4/ext/gd/gd.c:2165: undefined reference to `gdImageAALin e' ext/gd/gd.lo: In function `zif_imageellipse': /home/larry/php-4.3.4/ext/gd/gd.c:2298: undefined reference to `gdImageEllip se' ext/gd/gd.lo: In function `zif_imageantialias': /home/larry/php-4.3.4/ext/gd/gd.c:3852: undefined reference to `gdImageAntia lias' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 I am installing a dating service and this is in regards to the image uploads , displays and such... I have another program that uses imagemagick and it w orks fine, I am not to clear on the differences but I could really use to ge t this working correctly. for the record I have upgraded to the latest gd library, but when I do my ph pinfo it says I am using the bundled version and i am not seeing jpeg suppor t but even when I try to do a gif, I get the same errors on upload ont he so ftware i am trying to install. any help would be greatly appreciated. GD Support enabled GD Version bundled (2.0.15 compatible) GIF Read Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.