Hi,
I have been having problems while trying to compile ntop 3.2.
I am running debian sarge 3.1 / stable.
Prior attempting to compile ntop, I have compiled and installed successfully the following:
-libiconv1.9.1
-gd-2.0.33
./configure fails with the following error:
checking for gd.h... yes
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
I have checked ./config.log and here are the results:
configure:25397: checking for gd.h
configure:25404: result: yes
configure:25418: checking for gdImageDestroy in -lgd
configure:25448: 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 -lpcap -lgdbm -lgd >&5
/usr/local/lib/libgd.so: undefined reference to `libiconv_open'
/usr/local/lib/libgd.so: undefined reference to `libiconv_close'
/usr/local/lib/libgd.so: undefined reference to `libiconv'
collect2: ld returned 1 exit status
configure:25454: $? = 1
configure: failed program was:
| /* confdefs.h. */
Please let me know if you need more details about the setup.
After doing some research, everything points back to libc6 and libc6-dev.
I have got the latest posted in the stable repository (2.3.2.ds1-22).
Can you offer any advise?
Thank you,
Ed
PS: I’m relatively new to this.
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
