Thank you for your response, I believe you've hit the nail on the head. I had had two versions (inadvertently) of libpcap on the system. Removed the old one but didn't rerun ldconfig.
Sorry about the version number.... a Ciscoism :-)
Best regards, jim
Burton M. Strauss III wrote:
"size of symbol changed" is a sure sign that the compile was done against one library and the ultimate link (gnu ld) against another. This happens most frequently if you point ntop at a non-shared library (.a) via --with-xxxxx-root and yet it actually links against a .so of a different version (gnu ld will prefer a .so over a .a, even if you explicitly tell it about the .a)
Search your system for multiple libpcap.so ,.a's etc. and make sure that you've pointed ntop at the one it will actually use, that is the one in the standard locations.
# man ld.so
is the place to start.
-----Burton
PS: Please be careful with version #s, it's 2.4.17 not 12.4.17...
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jim Cliver Sent: Tuesday, June 03, 2003 9:00 PM To: [EMAIL PROTECTED] Subject: [Ntop] Trying to build NTop 2.2 on RH7.1 12.4.17 kernel i686
Hello,
Am having some trouble with building CVS (6/3/03) ntop2.2 src tree on a small linux system. Had to do a little trickery to even get the configure script to find the openssl headers and library as follows:
CPPFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib" \ ./configure
Every form I tried of passing any of the --with-ossl-<root,lib or include> failed with the configure script not finding the openssl stuff. My openssl (latest ver) is in /usr/local/ssl with the headers in the include/openssl dir and the library in the lib dir.
Anyway, have successfully (I hope) ran the configure script, it at least ends with no errors or warnings (except a small complaint about pppox.h). So have moved onto 'make' which ends with:
/usr/local/lib/libpcap.a(pcap.o): In function `pcap_open_dead': pcap.o(.text+0x290): multiple definition of `pcap_open_dead' util.lo:/home/software/ntop/util.c:3751: first defined here /usr/bin/ld: Warning: size of symbol `pcap_open_dead' changed from 100 to 74 in pcap.o collect2: ld returned 1 exit status make[2]: *** [libntop.la] Error 1 make[2]: Leaving directory `/home/software/ntop' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/software/ntop' make: *** [all] Error 2
Can anyone tell me what I need to do in order to correct this (these) error/s?
Many thanks! jim
Jim Cliver
_______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
-- Jim Cliver, CCNA Network Systems Alaska Telephone Company Anchorage, Alaska 907.365.0237 Office 907.373.0548 Home Office 907.244.4096 Mobile [EMAIL PROTECTED]
_______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
