The linkage messages about gd* mean that gd-1.8.3 isn't being built properly so it can be linked against.
The messages Do not forget to build: 1. gd-1.8.3/libpng-1.2.1 2. zlib-1.1.4/ Are in the ./configure which is one of the steps that ./buildAll.sh executes. The message re make install is a bad idea. There are really NO circumstances I'm aware of where you SHOULD install - that defeats the purpose of having known stable versions statically linked to ntop. If you read buildAll.sh it does: ./configure in gdchart0.94c ./configure and make in zlib-1.1.4 make in libpng-1.2.4 make in gdchart0.94c (which does the make in gd-1.8.3 automatically) (At least that's the current version, the 2.1.3, IIRC is simpler but very similar). If you read the back traffic, there are known problems with libpng versions - if you have 1.0.x installed and compile ntop against 1.2.x. I wonder if you already have gdchart installed?? * cd into the gd-1.8.3 directory and EXPLICITLY do the make ahead of any other make - maybe it's a sequence. * If you have gd and/or gdchart installed via rpm or whatever, try uninstalling them. * Otherwise, try NOT using the gdchart in the ntop tree and using the preinstalled binaries. You may have to set some --with- variables to tell ntop where to find the libraries/headers. ./configure --help will show you what you can set. * Try using the latest development snapshot. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Quinn, Richard C. - Collinsville IT Sent: Wednesday, January 29, 2003 12:59 PM To: [EMAIL PROTECTED] Subject: [Ntop] RE: gdchart issues Hi, I did a 'make clean' for both ntop and gdchart and ran 'buildAll.sh' over again. I checked for errors but didnt see any. I've got the output attached in an ascii file. The only thing I noticed of any interest was the message: Do not forget to build: 1. gd-1.8.3/libpng-1.2.1 2. zlib-1.1.4/ But it looks like buildAll.sh does that for me anyways. I ran the 'make installs' for all THREE packages (zlib, libpng and gd-1.8.3) I am still getting the same error(see bottom). Could you tell me what in particular I am missing? Could it be the libntopreport.so needs to be updated? Or is it trying to find these 'gdImage*' type files and they just aren't there? thanks again, Rich <<buildAll.txt>> That's the right version... It *sounds* like you don't have the library created. All I can think is that you missed an error message during the buildAll.sh step (just because the script finished doesn't mean there wasn't an error up above - it's stupid that way). -----Burton -----Original Message----- From: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>]On Behalf Of Quinn, Richard C. - Collinsville IT Sent: Tuesday, January 28, 2003 4:11 PM To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Subject: [Ntop] gdchart issues Hi, I have downloaded ntop 2.1.3 with gdchart0.94c AFAIK, I followed the build instructions for gdchart with no issue I ran the autogen.sh program for ntop with no issue I ran make with issue. Here's the error I got, you've seen this before I am sure: ./.libs/libntopreport.so: undefined reference to `GDC_generate_gif' ./.libs/libntopreport.so: undefined reference to `gdImageCreateFromGif' ./.libs/libntopreport.so: undefined reference to `gdImageGif' collect2: ld returned 1 exit status gmake[2]: *** [ntop] Error 1 gmake[2]: Leaving directory `/tmp/install/ntop-2.1.3/ntop' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/install/ntop-2.1.3/ntop' gmake: *** [all-recursive-am] Error 2 >From what I've read, the advice has always been to update the gdchart download. But, as you see, I am using gdchart0.94c, isn't that the right version, or is this the result of another problem that I am not aware of? thanks in adv. for any info on this, Rich _______________________________________________ Ntop mailing list [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> <http://listgateway.unipi.it/mailman/listinfo/ntop> _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
