Snort mailing list archives

Re: Snort not seeing libdnet


From: James Lay <jlay () slave-tothe-box net>
Date: Thu, 27 Jan 2011 19:09:37 -0700

ldd ./snort
linux-vdso.so.1 =>  (0x00007fff521ff000)
libpcre.so.0 => /usr/lib64/libpcre.so.0 (0x00007f7945300000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f79450e6000)
libm.so.6 => /lib64/libm.so.6 (0x00007f7944e63000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f7944c5f000)
libipq.so.0 => /usr/lib64/libipq.so.0 (0x00007f7944a5d000)
libdnet.1 => not found
libsfbpf.so.0 => /usr/local/lib/libsfbpf.so.0 (0x00007f7944838000)
libpcap.so.1 => /usr/lib64/libpcap.so.1 (0x00007f7944604000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00007f79443f0000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f79441d3000)
libc.so.6 => /lib64/libc.so.6 (0x00007f7943e5e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f794551f000)

locate libdnet.1
/usr/local/lib/libdnet.1
/usr/local/lib/libdnet.1.0.1
/src/libdnet-1.12/src/.libs/libdnet.1
/src/libdnet-1.12/src/.libs/libdnet.1.0.1



OddŠ.strace shows:

open("/lib64/tls/x86_64/libdnet.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/lib64/tls/x86_64", 0x7fff31099380) = -1 ENOENT (No such file or
directory)
open("/lib64/tls/libdnet.1", O_RDONLY)  = -1 ENOENT (No such file or
directory)
stat("/lib64/tls", 0x7fff31099380)      = -1 ENOENT (No such file or
directory)
open("/lib64/x86_64/libdnet.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/lib64/x86_64", 0x7fff31099380)   = -1 ENOENT (No such file or
directory)
open("/lib64/libdnet.1", O_RDONLY)      = -1 ENOENT (No such file or
directory)
open("/usr/lib64/tls/x86_64/libdnet.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat("/usr/lib64/tls/x86_64", 0x7fff31099380) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/tls/libdnet.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/usr/lib64/tls", 0x7fff31099380)  = -1 ENOENT (No such file or
directory)
open("/usr/lib64/x86_64/libdnet.1", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/usr/lib64/x86_64", 0x7fff31099380) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/libdnet.1", O_RDONLY)  = -1 ENOENT (No such file or
directory)

Linked it to /lib64/libdnet.1 and now it worksŠvery strange!

James


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Current thread: