Get the library that's missing, install it, and recompile: www.boutell.com/gd
Not sure why it has the header file and not the library? Maybe wrong version or corrupted or something? Gary >>> [EMAIL PROTECTED] 10/30/2006 11:08 AM >>> All, I've seen some possible solutions for this compile issue but none have worked for me. The error (in the log file) I am getting back is a little different from what others have posted. Here are the details: From the ./configure: ~snip~ checking for gdImageDestroy in -lgd... no ******************************************************************* * * ERROR: gd header or library routines are missing * (yes means it was found, no means it was not found) * * gd.h...yes * gdImageDestroy() in -lgd...no * *>>> No way to proceed. * *??? Install gd (and/or gd-devel), check www.boutell.com/gd *??? and Rerun ./configure * ******************************************************************* ~snip~ From config.log: ~snip~ configure:25423: checking for gdImageDestroy in -lgd configure:25453: gcc -o conftest -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -DLINUX -I/usr/local/include -L/usr/local/lib conftest.c -lgd -lgdbm -lpcap -lgd -lpcap -lgdbm >&5 /usr/local/lib/libgd.a(gd.o): In function `gdImageDashedLine':/btn/src/gd/gd.c:1170: undefined reference to `atan2' :/btn/src/gd/gd.c:1170: undefined reference to `sin' :/btn/src/gd/gd.c:1238: undefined reference to `atan2' :/btn/src/gd/gd.c:1238: undefined reference to `sin' /usr/local/lib/libgd.a(gd.o): In function `lsqrt':/btn/src/gd/gd.c:1475: undefined reference to `sqrt' /usr/local/lib/libgd.a(gd.o): In function `gdImageCopyRotated':/btn/src/gd/gd.c:2210: undefined reference to `sqrt' :/btn/src/gd/gd.c:2211: undefined reference to `cos' :/btn/src/gd/gd.c:2212: undefined reference to `sin' /usr/local/lib/libgd.a(gd.o): In function `gdImageLine':/btn/src/gd/gd.c:1075: undefined reference to `atan2' :/btn/src/gd/gd.c:1075: undefined reference to `sin' :/btn/src/gd/gd.c:994: undefined reference to `atan2' :/btn/src/gd/gd.c:994: undefined reference to `cos' collect2: ld returned 1 exit status configure:25459: $? = 1 configure: failed program was: | /* confdefs.h. */ ~snip~ # uname -a Linux jones-jiibtn1-vm 2.6.15-27-server #1 SMP Sat Sep 16 02:57:21 UTC 2006 i686 GNU/Linux Any suggestions for a solution to my compile issue? Thanks and Regards, Eric Brander _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop =========================================================================== "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
