LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-11-2015, 03:17 PM   #1
Clint_99
LQ Newbie
 
Registered: Jun 2015
Location: Texas
Distribution: ubuntu/mint/kali/security_onion
Posts: 2

Rep: Reputation: Disabled
trouble installing snort libdnet.1: cannot open, no such file


Need help,

I'm looking for the best way for a Linux beginner to install Snort.

I'm a windows user learning Linux, I've played with Mint, Ubuntu, kali, and Security Onion. I'm a Network Security Analyst and need to be able to use Snort to test rules, run pcap's, and as a sensor at home for general practice.

I followed a tutorial off of youtube that seemed very good but am getting an error-
"snort: error while loading shared libraries: libdnet.1: cannot open shared object file: No such file or directory"

This should be pretty close to the complete list of commands I ran:

sudo apt*get install flex bison build*essential checkinstall libpcap*dev
libnet1*dev libpcre3*dev libmysqlclient15*dev libnetfilter*queue*dev
iptables*dev

wget https://libdnet.googlecode.com/files/libdnet*1.12.tgz

tar xvfvz libdnet*1.12.tgz

./configure "CFLAGS=*fPIC

make

sudo checkinstall

sudo dpkg *i
libdnet_1.12*1_amd64.deb and sudo ln *s /usr/local/lib/libdnet.1.0.1
/usr/lib/libdnet.1

Download files from: https://www.snort.org/downloads
daq-2.0.5.tar.gz
snort-2.9.7.3.tar.gz

tar xvfvz daq*2.0.5.tar.gz

cd daq*2.0.5

./configure

make

sudo checkinstall

sudo dpkg *i daq_2.0.2*1_amd64.deb

Download snort rules:
snortrules-snapshot-2973.tar.gz
tar xvfvz snort*2.9.6.1.tar.gz

cd snort*2.9.6.1

./configure

make

sudo checkinstall

sudo dpkg *i snort_2.9.7.3*1_amd64.deb
/usr/sbin/snort

sudo ldconfig -v

snort -V

The "snort -V" is where I get the error at and here is the url where I watched the tutorial https://www.youtube.com/watch?v=GVvS8Peb2fY

I did try "sudo apt-get install libdnet" I received this error "ERROR! dnet header not found" Any help with this or an updated tutorial that can be followed to the "T" without errors would be great.
Thank you for your time.

Last edited by Clint_99; 06-12-2015 at 02:25 PM.
 
Old 06-12-2015, 02:17 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
first off
WHAT operating system is this ????

it is one of the Debian family of OS's

if this is KALI

then REGISTER on the kali forum
http://forums.kali.org/
( apparently a lot of new kali users can not figure out how to register here)



kali is a very SPECIAL!!! os and gives Linux EXPERTS!!! A VERY HARD TIME

what WORKS in Ubuntu might NOT!!!! in Kali

also WHY try to build "libdnet" from source

just open your package manager ( synaptic )
and install from there
put checks in the check box for it

libdumbnet-1.12.6 in in the base Debian 8.1 repos
Code:
su -
apt-get update
apt-get install libdnet1 libdnet-dev

Last edited by John VV; 06-12-2015 at 02:30 PM.
 
Old 06-12-2015, 02:25 PM   #3
Clint_99
LQ Newbie
 
Registered: Jun 2015
Location: Texas
Distribution: ubuntu/mint/kali/security_onion
Posts: 2

Original Poster
Rep: Reputation: Disabled
Ubuntu- this was a clean install w/updates in a VM.

Thanks

Last edited by Clint_99; 06-12-2015 at 02:26 PM.
 
  


Reply



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 file uta Linux - Newbie 3 03-07-2014 03:45 PM
snort: error while loading shared libraries: libdnet.1: cannot open shared object fil chetan rodrigues Linux - Newbie 9 03-07-2014 10:06 AM
[SOLVED] snort : libraries: libdnet.1: cannot open shared object file: No such file or directo shino99 Linux - Software 7 11-13-2013 10:18 AM
[SOLVED] libdnet.1: cannot open shared object file: No such file or directory OtagoHarbour Linux - Newbie 4 10-15-2013 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:49 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
Open Source Consulting | Domain Registration