Snort mailing list archives

error while loading shared libraries: libdnet.1:


From: SnortFan <SnortFan () yahoo com>
Date: Mon, 27 Jan 2014 12:17:45 -0500

Hi All,
     When trying to start snort, I get the following errors.

Starting SNORTD p2p2 (snort): /usr/local/bin/snort: error while loading shared libraries: libdnet.1: cannot open shared 
object file: No such file or directory

I just upgraded from 2.9.4.5 to 2.9.6.0.
I can get past this error by adding the environment variable:

export LD_LIBRARY_PATH=/usr/local/lib

but, I never had to do that before. Here is my "ldd snort" before adding the environment var:

ldd snort
    linux-vdso.so.1 =>  (0x00007fffa2acd000)
    libdnet.1 => not found
    libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x000000339a400000)
    libpcre.so.0 => /lib64/libpcre.so.0 (0x00000033a1000000)
    libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003399c00000)
    libm.so.6 => /lib64/libm.so.6 (0x0000003397000000)
    libdl.so.2 => /lib64/libdl.so.2 (0x0000003396000000)
    libsfbpf.so.0 => /usr/local/lib/libsfbpf.so.0 (0x00007f51671b4000)
    libpcap.so.1 => /usr/local/lib/libpcap.so.1 (0x00007f5166f76000)
    libz.so.1 => /lib64/libz.so.1 (0x0000003396c00000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003396800000)
    libc.so.6 => /lib64/libc.so.6 (0x0000003396400000)
    /lib64/ld-linux-x86-64.so.2 (0x0000003395c00000)

What did I do wrong then upgrading? I compiled and installed the new daq and snort. I would rather not have to specify 
the LD_LIBRARY_PATH, it's not that way on any of my other servers that I'm going to be upgrading. My test server that 
was a clean install didn't need it.

Thanks,
Ed

Sent from a mobile device. 
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: