Home page logo
/

snort logo Snort mailing list archives

Snort Libpcap Error During Installation
From: Snort User <snort.user123 () gmail com>
Date: Fri, 28 Jun 2013 08:41:49 -0400

I am trying to install snort-2.9.4.6 on Redhat 6.3 i386 but am getting the
following error


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



I have uninstalled the redhat libpcap that I had installed with yum and
compiled my own libpcap 1.4.0. The libpcap was the latest version from
tcpdump.org, not the development version.



The following files are located in /usr/local/lib

-rw-r--r--. 1 root root 754998 Jun 27 08:14 libpcap.a

lrwxrwxrwx. 1 root root     12 Jun 27 08:14 libpcap.so -> libpcap.so.1

lrwxrwxrwx. 1 root root     16 Jun 27 08:14 libpcap.so.1 -> libpcap.so.1.4.0

-rwxr-xr-x. 1 root root 552966 Jun 27 08:14 libpcap.so.1.4.0



The following files are located in /usr/local/include.

drwxr-xr-x. 2 root root 4096 Jun 27 08:14 pcap

-rw-r--r--. 1 root root 2393 Jun 27 08:14 pcap-bpf.h

-rw-r--r--. 1 root root 2320 Jun 27 08:14 pcap.h

-rw-r--r--. 1 root root 2125 Jun 27 08:14 pcap-namedb.h



I tried running like this:

./configure --with-libpcap-libraries=/usr/local/lib
--with-libpcap-libraries=/usr/local/include



I also tried adding to ldconfig.



Yet I’m still getting the libpcap error and I don’t know why.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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!

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]