Error Libpcap Library/headers Libpcap.a Or .so/pcap.h Not Found
Contents |
Packet crafters More Site News Advertising About/Contact Sponsors: Snort mailing list archives By Date By Thread Snort Libpcap Error During Installation From: Snort User
Libpcre Header Not Found Ubuntu
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 download libpcap 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: Snort Libpcap Error During Installation Snort User (Jun 28) Re: Snort Libpcap Error During Installation James Lay (Jun 28) [ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
Installation Issues related to software problems. Post Reply Print view Search Advanced search 3 posts • Page 1 of 1 gsato Posts: 1 Joined: 2007/08/13 error pcap library not found 16:42:20 Location: Sao Paulo Contact: Contact gsato WLM Error Snort 2.7.0.1 Installation
Libdnet
Quote Postby gsato » 2007/08/13 17:04:05 I'm trying install the Snort 2.7.0.1, but there is an error:[root@net01 snort-2.7.0.1]#./configure
Tcpdump
--with-mysql 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 http://seclists.org/snort/2013/q2/1425 libpcap depends on another shared library that may be installed in an unusual placeI download the libpcap (libpcap-0.9.7.tar.tar) and I'm trying install this rpm too, but there is this error:[root@net01 libpcap-0.9.7]#./configureconfigure: error: Your operating system's lex is insufficient to compile libpcap. flex is a lex replacement that has many advantages, including being able to compile libpcap. For more information, see http://www.gnu.org/software/flex/flex.html http://www.centos.org/forums/viewtopic.php?t=18869 .Anybody now how can I solve this problem?My environment is:CentOS 5MySQL (mysql-server-5.0.22-2.1)Apache (httpd-2.2.3-6.el5.centos.1)PHP (php-5.1.6-12.el5)Thanks,Gabriela Top foxb Posts: 1914 Joined: 2006/04/20 19:03:33 Location: Montreal/QC Error Snort 2.7.0.1 Installation Quote Postby foxb » 2007/08/14 12:45:02 libpcap is already included in CentOS.....Do not forget -devel packageCode: Select allyum install libpcap libpcap-devel
Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Post Reply Print view 3 posts • Page 1 of 1 Return to “CentOS 5 - Software Support” Jump to CentOS General Purpose CentOS - FAQ & Readme First Announcements CentOS Social User Comments Website Problems CentOS 7 CentOS 7 - General Support CentOS 7 - Software Support CentOS 7 - Hardware Support CentOS 7 - Networking Support CentOS 7 - Security Support CentOS 6 CentOS 6 - General Support CentOS 6 - Software Support CentOS 6 - Hardware Support CentOS 6 - Networking Support CentOS 6 - Security Support CentOS 5 CentOS 5 - General
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more http://stackoverflow.com/questions/13337349/problems-finding-pcap-h-and-linking about Stack Overflow the company Business Learn more about hiring developers or posting http://forums.fedoraforum.org/archive/index.php/t-218428.html ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Problems finding pcap.h and linking up vote 6 down vote favorite not found 1 I'm working on Fedora 17 and I want to program with libpcap. The problem is that my computer isn't finding pcap.h, which is really wierd since I've installed libpcap and libpcap-devel. Also wireshark and snort works on my station which I believe uses that library. So when I compile my code with ... #include
Snort, I get to page 7 and get: [root@alphaone snort-2.8.3.2]# ./configure --with-mysql --enable-dynamicplugin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking for bison... no checking for yacc... no checking for flex... no checking for lex... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... no checking for c++... no checking for gpp... no checking for a