[Snort-users] error while loading shared libraries

Kevin Ross kevross33 at ...14012...
Fri Feb 11 16:35:19 EST 2011


On 11 February 2011 21:35, Kevin Ross <kevross33 at ...14012...> wrote:

> Well that never worked for libdnet. Obviously not finding what it is
> looking for. I wonder why I never had any issues with snort-2.9.0.3. Here
> are my outputs:
>
> # ldd snort
>     linux-gate.so.1 =>  (0x00fea000)
>     libdnet.1 => not found
>     libpcre.so.0 => /lib/libpcre.so.0 (0x04dd4000)
>     libnsl.so.1 => /lib/libnsl.so.1 (0x00110000)
>     libm.so.6 => /lib/libm.so.6 (0x003d3000)
>     libdl.so.2 => /lib/libdl.so.2 (0x007d2000)
>     libpcap.so.1 => /usr/lib/libpcap.so.1 (0x004f4000)
>     libsfbpf.so.0 => /usr/local/lib/libsfbpf.so.0 (0x00ba5000)
>     libz.so.1 => /lib/libz.so.1 (0x004be000)
>     libpthread.so.0 => /lib/libpthread.so.0 (0x0022f000)
>     libc.so.6 => /lib/libc.so.6 (0x0052e000)
>     /lib/ld-linux.so.2 (0x00d1f000)
>
> # locate libdnet
> /usr/lib/libdnet.so.1
> /usr/lib/libdnet.so.1.0.1
> /usr/share/doc/libdnet-1.12
> /usr/share/doc/libdnet-1.12/LICENSE
> /usr/share/doc/libdnet-1.12/README
> /usr/share/doc/libdnet-1.12/THANKS
> /usr/share/doc/libdnet-1.12/TODO
>
>
> --- Strace Shortened Output ---
> open("/usr/lib/tls/sse2/libdnet.1", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> stat64("/usr/lib/tls/sse2", 0xbfc90410) = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/tls/libdnet.1", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> stat64("/usr/lib/tls", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
> open("/usr/lib/i686/sse2/libdnet.1", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> stat64("/usr/lib/i686/sse2", 0xbfc90410) = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/i686/libdnet.1", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> stat64("/usr/lib/i686", 0xbfc90410)     = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/sse2/libdnet.1", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> stat64("/usr/lib/sse2", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
> open("/usr/lib/libdnet.1", O_RDONLY)    = -1 ENOENT (No such file or
> directory)
> stat64("/usr/lib", {st_mode=S_IFDIR|0555, st_size=77824, ...}) = 0
> writev(2, [{"snort", 5}, {": ", 2}, {"error while loading shared libra"...,
> 36}, {": ", 2}, {"libdnet.1", 9}, {": ", 2}, {"cannot open shared object
> file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}],
> 10snort: error while loading shared libraries: libdnet.1: cannot open shared
> object file: No such file or directory
>
>
> On 11 February 2011 00:18, Russ Combs <rcombs at ...1935...> wrote:
>
>>
>>
>> On Thu, Feb 10, 2011 at 7:07 PM, Kevin Ross <kevross33 at ...14012...>wrote:
>>
>>> I have just updated from 2.9.0.3 to 2.9.0.4. The install went fine but I
>>> get this error message when I try to run snort:
>>>
>>> snort: error while loading shared libraries: libdnet.1: cannot open
>>> shared object file: No such file or directory
>>>
>>> It was compiled with the following options on Fedora 14 (snort 2.9.0.3
>>> was working fine originally):
>>>
>>> ./configure --enable-ipv6 --enable-targetbased
>>> --enable-decoder-preprocessor-rules --enable-ppm --enable-perfprofiling
>>> --enable-zlib --enable-normalizer
>>>
>>> What is it actually looking for here as I am not sure and have looked
>>> through the usual stuff I get with shared objects and libraries?
>>>
>>
>> What does `ldd snort` give you?
>>
>>>
>>> Thanks for any help given, Kev
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
>>> Pinpoint memory and threading errors before they happen.
>>> Find and fix more than 250 security defects in the development cycle.
>>> Locate bottlenecks in serial and parallel code that limit performance.
>>> http://p.sf.net/sfu/intel-dev2devfeb
>>> _______________________________________________
>>> Snort-users mailing list
>>> Snort-users at 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
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20110211/fa06c62f/attachment.html>


More information about the Snort-users mailing list