LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2014, 04:33 AM   #1
uta
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Rep: Reputation: Disabled
snort: error while loading shared libraries: libdnet.1:cannot open shared object file


i am using ubuntu 12.04. I've already installed snort and its supporting packets like barnyard etc. i got a trouble when i tried to test the snort with this command:
sudo /usr/local/snort/bin/snort -u snort -g snort -c /usr/local/snort/etc/snort.conf -i eth1
it said:
/usr/local/snort/bin/snort: error while loading shared libraries: libdnet.1: cannot open shared object file: No such file or directory
anyone can help me?

thanks before

Last edited by uta; 03-07-2014 at 04:37 AM.
 
Old 03-07-2014, 09:59 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,942

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by uta View Post
i am using ubuntu 12.04. I've already installed snort and its supporting packets like barnyard etc. i got a trouble when i tried to test the snort with this command:
sudo /usr/local/snort/bin/snort -u snort -g snort -c /usr/local/snort/etc/snort.conf -i eth1
it said:
/usr/local/snort/bin/snort: error while loading shared libraries: libdnet.1: cannot open shared object file: No such file or directory
anyone can help me?
Your other post was reported for being a duplicate and for re-opening/hijacking an old thread. The error very clearly tells you that you are missing the libdnet library. Did you try to look up how you would install this? Try "sudo apt-get install libdnet"?

And you don't say how you installed snort, since the instructions for the pre-built package on Ubuntu are different than for installing things via source.
 
Old 03-07-2014, 02:19 PM   #3
felbvts
Member
 
Registered: Mar 2009
Posts: 38

Rep: Reputation: 3
I found that these must be installed in order: daq, libdnet, snort

I install libdnet from a src rpm -- I found that way to work best for me.
 
Old 03-07-2014, 04:45 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,942

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by felbvts View Post
I found that these must be installed in order: daq, libdnet, snort

I install libdnet from a src rpm -- I found that way to work best for me.
That is not really a good way to proceed. Unless you need some bleeding-edge feature, installing from package is a better way to go. Not only is it quicker, but FAR less likely to introduce instability in your system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
snort: error while loading shared libraries: libdnet.1: cannot open shared object fil chetan rodrigues Linux - Newbie 9 03-07-2014 11:06 AM
[SOLVED] snort : libraries: libdnet.1: cannot open shared object file: No such file or directo shino99 Linux - Software 7 11-13-2013 11:18 AM
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: vswapnasr@gmail.com Linux - Software 1 05-04-2013 07:49 AM
honeyd: error while loading shared libraries: libdnet.1: cannot open shared object fi secbuddy Linux - Software 2 12-24-2011 03:01 PM
error while loading shared libraries: libtermcap.so.2: cannot open shared object file astroboy2000ir Linux - Software 3 12-08-2010 12:16 AM


All times are GMT -5. The time now is 05:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration