library paths seem always to be my undoing.  i am looking to install
ntop-4.0.3 onto Ubuntu 10.10 Maverick Meerkat (which seems to only offer
a 3.something ntop directly), and I've waded through installing all the
pre-requisites and the build was clean, save for some warnings about
netflow (see the very end if you are truly curious)

and I can make install (had to run that under tsocks as it was trying to
reach-out and pull  a file from somewhere on the Intenet) but when I go
to launch ntop it cannot find some of its own libraries:

raj@tardy:~/ntop-4.0.3$ sudo /usr/local/bin/ntop
/usr/local/bin/ntop: error while loading shared libraries:
libntopreport-4.0.3.so: cannot open shared object file: No such file or
directory

I suspect some issue with library search paths, but that has always
flummoxed me so some pointers would be great.  I tried LD_LIBRARY_PATH
but while that makes ldd happy, the launch still fails, and an strace of
same shows it never bothers looking in /usr/local/lib . for the time
being I've put some symlinks in /usr/lib

happy benchmarking,

rick jones

here is the compile warning:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I..
-I/usr/include/python2.6 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -I/usr/local/include -DLINUX
-I/usr/local/include -I/opt/local/include -g -O2 -I/usr/local/include
-I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fPIC -DPIC
-I/usr/include/python2.6 -I/usr/include/python2.6 -fno-strict-aliasing
-g -O2 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -MT
libnetflowPlugin_la-netflowPlugin.lo -MD -MP
-MF .deps/libnetflowPlugin_la-netflowPlugin.Tpo -c netflowPlugin.c
-fPIC -DPIC -o .libs/libnetflowPlugin_la-netflowPlugin.o
netflowPlugin.c: In function ‘dissectFlow’:
netflowPlugin.c:1841: warning: declaration of ‘__v’ shadows a previous
local
netflowPlugin.c:1841: warning: shadowed declaration is here
netflowPlugin.c:1841: warning: declaration of ‘__x’ shadows a previous
local
netflowPlugin.c:1841: warning: shadowed declaration is here
netflowPlugin.c:2018: warning: declaration of ‘__v’ shadows a previous
local
netflowPlugin.c:2018: warning: shadowed declaration is here
netflowPlugin.c:2018: warning: declaration of ‘__x’ shadows a previous
local
netflowPlugin.c:2018: warning: shadowed declaration is here
netflowPlugin.c:2019: warning: declaration of ‘__v’ shadows a previous
local
netflowPlugin.c:2019: warning: shadowed declaration is here
netflowPlugin.c:2019: warning: declaration of ‘__x’ shadows a previous
local
netflowPlugin.c:2019: warning: shadowed declaration is here


here is the "reach-out and grab a file"  

Preparing 

...Deleting prior file, etter.finger.os.gz.old...
...Deleting prior file, etter.finger.os...

...Downloading new file...
--2011-04-08 15:04:01--
http://ettercap.cvs.sourceforge.net/ettercap/ettercap_ng/share/etter.finger.os?rev=HEAD
Resolving ettercap.cvs.sourceforge.net... 216.34.181.111
Connecting to ettercap.cvs.sourceforge.net|216.34.181.111|:80...
connected.
HTTP request sent, awaiting response... 302 Found
Location: /viewvc/ettercap/ettercap_ng/share/etter.finger.os?revision=HEAD 
[following]
--2011-04-08 15:04:02--
http://ettercap.cvs.sourceforge.net/viewvc/ettercap/ettercap_ng/share/etter.finger.os?revision=HEAD
Connecting to ettercap.cvs.sourceforge.net|216.34.181.111|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `etter.finger.os'


_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to