<div dir="ltr">I'm having trouble getting the ./configure script to complete for Suricata 2.0.6 with the following options. With pf_ring 6.0.2 "vanilla" built and installed.<div><br></div><div>
<p class=""><span class="">uname -a </span>Linux hosta 3.13.0-45-generic #74~precise1-Ubuntu SMP Thu Jan 15 20:21:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux</p></div><div>./configure --prefix=/usr/local --sysconfdir=/usr/local/etc/suricata/ --localstatedir=/usr/local/var/ --with-libpfring-libraries=/usr/local/pfring/lib --with-libpfring-includes=/usr/local/pfring/include --with-libpcap-includes=/usr/local/pfring/include --with-libpcap-libraries=/usr/local/pfring/lib --enable-pfring --enable-geoip --disable-profiling<br></div><div><br></div><div>I get the following error:</div><div>...</div><div>
<p class=""><span class="">checking pcap/pcap.h presence... yes</span></p>
<p class=""><span class="">checking for pcap/pcap.h... yes</span></p>
<p class=""><span class="">checking pcap/bpf.h usability... yes</span></p>
<p class=""><span class="">checking pcap/bpf.h presence... yes</span></p>
<p class=""><span class="">checking for pcap/bpf.h... yes</span></p>
<p class=""><span class="">checking for pcap_open_live in -lpcap... no</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class=""> ERROR! libpcap library not found, go get it</span></p>
<p class=""><span class=""> from <a href="http://www.tcpdump.org">http://www.tcpdump.org</a> or your distribution:</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class=""> Ubuntu: apt-get install libpcap-dev</span></p>
<p class=""><span class=""> Fedora: yum install libpcap-devel</span></p></div><div><br></div><div><br></div><div>The following shows that libpcap library and pcap.h are installed in the right paths being supplied to the configure script.I</div><div>
<p class=""><span class="">ls -l /usr/local/pfring/include/</span></p>
<p class=""><span class="">total 116</span></p>
<p class=""><span class="">drwxr-xr-x 2 root root 4096 Feb 21 19:51 </span><span class="">pcap</span></p>
<p class=""><span class="">-rw-r--r-- 1 root root 2393 Feb 21 19:51 pcap-bpf.h</span></p>
<p class=""><span class="">-rw-r--r-- 1 root root 2320 Feb 21 19:51 pcap.h</span></p>
<p class=""><span class="">-rw-r--r-- 1 root root 2125 Feb 21 19:51 pcap-namedb.h</span></p>
<p class=""><span class="">-rw-r--r-- 1 root root 57700 Feb 21 19:51 pfring.h</span></p>
<p class=""><span class="">-rw-r--r-- 1 root root 12321 Feb 21 19:51 pfring_mod_sysdig.h</span></p>
<p class=""><span class="">-rw-r--r-- 1 root root 20974 Feb 21 19:51 pfring_zc.h</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">ls -l /usr/local/pfring/lib/</span></p><p class=""><span class="">total 1928</span></p><p class=""><span class="">-rw-r--r-- 1 root root 412264 Feb 21 19:51 libpcap.a</span></p><p class=""><span class="">lrwxrwxrwx 1 root root 12 Feb 21 19:51 </span><span class="">libpcap.so</span><span class=""> -> </span><span class="">libpcap.so.1</span></p><p class=""><span class="">lrwxrwxrwx 1 root root 16 Feb 21 19:51 </span><span class="">libpcap.so.1</span><span class=""> -> </span><span class="">libpcap.so.1.1.1</span></p><p class=""><span class="">-rwxr-xr-x 1 root root 609569 Feb 21 19:51 </span><span class="">libpcap.so.1.1.1</span></p><p class=""><span class="">-rw-r--r-- 1 root root 537384 Feb 21 19:51 libpfring.a</span></p><p class=""><span class="">
</span></p><p class=""><span class="">-rwxr-xr-x 1 root root 407811 Feb 21 19:51 </span><span class="">libpfring.so</span></p><p class=""><span class=""><br></span></p><p class="">Has anyone else had this issue?</p></div><div><br></div></div>