That worked! Thank you! It looks like ntop already added a file in /etc/ld.so.conf.d/ that linked to /usr/local/lib, so I just needed to run ldconfig.
-Nate On Sep 29, 2010, at 3:02 AM, Erwan Loaëc wrote: > Hello, > > Try to add "/usr/local/lib" to the file /etc/ld.so.conf and then use the > "ldconfig" command to reload the file. > > This should work. > > To check missing lib, use "ldd /usr/local/bin/ntop" to display the lib use by > the binary "ntop". > > -- > Erwan > > > Nate Hausrath wrote: >> I compiled and installed ntop 4.0.1 on Ubuntu server 10.04. Everything >> appears to be fine (I found no errors during configure/make/making install), >> but I'm still getting the following error: >> # /usr/local/bin/ntop --version >> /usr/local/bin/ntop: error while loading shared libraries: >> libntopreport-4.0.1.so: cannot open shared object file: No such file or >> directory >> However, it looks like it is there: >> # ls -l /usr/local/lib/libntopreport* >> -rwxr-xr-x 1 root root 1749701 2009-12-15 18:33 >> /usr/local/lib/libntopreport-3.3.10.so >> -rwxr-xr-x 1 root root 1285140 2010-09-28 20:22 >> /usr/local/lib/libntopreport-4.0.1.so >> -rw-r--r-- 1 root root 2552580 2010-09-28 20:22 >> /usr/local/lib/libntopreport.a >> -rwxr-xr-x 1 root root 1421 2010-09-28 20:22 >> /usr/local/lib/libntopreport.la >> lrwxrwxrwx 1 root root 22 2010-09-28 20:22 >> /usr/local/lib/libntopreport.so -> libntopreport-4.0.1.so >> I have even tried to recompile everything after running ./configure >> --libdir=/usr/local/lib/ >> Any ideas? >> Thanks! >> Nate >> _______________________________________________ >> Ntop mailing list >> [email protected] >> http://listgateway.unipi.it/mailman/listinfo/ntop > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
