On 1/22/07, Wayne Fiori <[EMAIL PROTECTED]> wrote: > I'm running into an odd problem trying to compile 3.0 beta 11 on a > Gentoo system. The configure (./configure --enable-local-libopts) and > make go fine and produce a functioning binary. > > tcpreplay-3.0.beta11 # src/tcpprep > Must specify an output cachefile (-o) and input pcap (-i) > > The install (make install) happens without an error, but the binaries > can't find libopts.25 > > > tcpreplay-3.0.beta11 # /usr/local/bin/tcpprep > /usr/local/bin/tcpprep: error while loading shared libraries: > libopts.25: cannot open shared object file: No such file or directory > > Eventhough the libraries exist in /usr/local/lib > > tcpreplay-3.0.beta11 # ls -lsa /usr/local/lib > total 392 > 0 drwxr-xr-x 2 root root 224 Jan 22 12:21 . > 0 drwxr-xr-x 11 root root 312 Jan 17 23:27 .. > 0 -rw-r--r-- 1 root root 0 Feb 13 2006 .keep > 0 lrwxrwxrwx 1 root root 14 Jan 22 12:21 libopts -> libopts.25.2.1 > 0 lrwxrwxrwx 1 root root 14 Jan 22 12:21 libopts.25 -> libopts.25.2.1 > 184 -rwxr-xr-x 1 root root 188224 Jan 22 12:21 libopts.25.2.1 > 204 -rw-r--r-- 1 root root 206926 Jan 22 12:21 libopts.a > 4 -rwxr-xr-x 1 root root 786 Jan 22 12:21 libopts.la
I'm not a Gentoo guy, so I don't know what the defaults are, but Is /usr/local/lib configured as a directory in your library search path (LD_LIBRARY_PATH or whatever it's called?) or in /etc/ld.so.conf ? Sounds like you need to tell the system that you've got shared libraries there. -- Aaron Turner http://synfin.net/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
