LinuxQuestions.org
Visit Jeremy's Blog.
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 11-03-2010, 05:56 AM   #1
Caramba
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Rep: Reputation: 0
Configuring Snort


I just downloaded Snort on my Ubuntu VM.
When i try to use "./configure", i get the error

------snip----

checking pfring.h presence... no
checking for pfring.h... no
checking for pfring_open in -lpfring... no
checking for pfring_open in -lpcap... no

ERROR! Libpcap library/headers (libpcap.a (or .so)/pcap.h)
not found, go get it from http://www.tcpdump.org
or use the --with-libpcap-* options, if you have it installed
in unusual place. Also check if your libpcap depends on another
shared library that may be installed in an unusual place

------snip----

I do have Libpcap installed with libpcap.so.0.8 installed in /usr/lib.

Thanx
 
Old 11-03-2010, 06:09 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Have you installed the libpcap dev package? It's called libpcap0.8-dev or something similar to that.
ciao,
jdk
 
Old 11-03-2010, 06:16 AM   #3
Caramba
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Ok so i figured that one out i did'nt have Libpcap-dev package.
That brings me to my next question. Whats the difference between "dev" packages and the regular ones.

Regards.
 
Old 11-03-2010, 07:30 AM   #4
Caramba
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I keep on getting errors while setting up snort, some i figured out myself and with some i need assistance. HHere is another one...

-----snip---------

checking dnet.h usability... yes
checking dnet.h presence... yes
checking for dnet.h... yes
checking for eth_set in -ldnet... no

ERROR! dnet library not found, go get it from
http://code.google.com/p/libdnet/ or use the --with-dnet-*
options, if you have it installed in an unusual place

-----snip---------

I have both libdnet and libdnet-dev installed.
Also i downloaded libdnet from google code as the error states.
It is configured and did run "make" on it without errors.
when i search for libdnet on my system i get the following path for the shared libraries:

libdnet.so.1 /usr/lib/vmware-tools/lib32

what am i missing here?

Regards
 
Old 11-03-2010, 08:56 AM   #5
fbobraga
Member
 
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Debian 7 / Crunchbang 11
Posts: 229

Rep: Reputation: 41
Quote:
Originally Posted by Caramba View Post
Whats the difference between "dev" packages and the regular ones.
"-dev" packages have the build dependencies for it (like headers, libraries and so), but not needed to run
 
Old 11-03-2010, 11:23 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
You talked about compiling snort (ie. running ./configure) rather than using the binaries so you need the dev package. You do know you don't have to compile snort if you don't want to.
ciao,
jdk
 
  


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
1-snort Vs ntop-- 2- snort perfstat.exec PoleStar Linux - Newbie 1 09-06-2010 02:52 PM
[HELP]SNORT PROBLEMS(IDS)-service snort start JayCool Linux - Software 5 03-15-2009 01:34 PM
Installing and Configuring Snort winxandlinx Linux - Security 3 11-16-2006 11:56 PM
Configuring Snort (Debian) viniosity Linux - Security 1 09-26-2004 06:32 PM
configuring my snort to log to mysql linuxtommy Linux - Security 7 09-09-2004 04:31 AM


All times are GMT -5. The time now is 10:54 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