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-apxs=/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 `gdImageColorMatch' ext/gd/gd.lo: In function `zif_imagerotate': /home/larry/php-4.3.4/ext/gd/gd.c:1107: undefined reference to `gdImageRotate' ext/gd/gd.lo: In function `zif_imageline': /home/larry/php-4.3.4/ext/gd/gd.c:2165: undefined reference to `gdImageAALine' ext/gd/gd.lo: In function `zif_imageellipse': /home/larry/php-4.3.4/ext/gd/gd.c:2298: undefined reference to `gdImageEllipse' ext/gd/gd.lo: In function `zif_imageantialias': /home/larry/php-4.3.4/ext/gd/gd.c:3852: undefined reference to `gdImageAntialias' 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 works fine, I am not to clear on the differences but I
could really use to get this working correctly.
for the record I have upgraded to the latest gd
library, but when I do my phpinfo it says I am using the bundled version and i
am not seeing jpeg support but even when I try to do a gif, I get the same
errors on upload ont he software i am trying to install.
any help would be greatly appreciated.
|