Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

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-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  


Report this thread to moderator Post Follow-up to this message
Old Post
Larry Clark
08-22-04 08:55 AM


Re: recompile erorrs....
BTW 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  


Report this thread to moderator Post Follow-up to this message
Old Post
Larry Clark
08-22-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Installation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:41 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.