[Oisf-users] Error compiling suricata 1.3.2 against pf_ring 5.4.6
C. L. Martinez
carlopmart at gmail.com
Mon Oct 29 11:57:42 UTC 2012
Uhmm, strange. I have changed where pfring, libpcap libs and includes
are located and error is:
configure:17890: gcc -o conftest -g -O2 -Wextra -Wall
-fno-strict-aliasing -fno-tree-pre -Wno-unused-parameter -std=gnu99
-march=native -DPROFILING -DHAVE_LIBNET11 -D_BSD_SOURCE
-D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H
-DHAVE_LIBNET_ICMPV6_UNREACH -DHAVE_PFRING -I/opt/pf_ring/include
-L/opt/pf_ring/lib conftest.c -lpfring -lpcap -lnet -lpthr
ead -lyaml -lpcre >&5
/usr/bin/ld: cannot find -lpcap
Why?? I have setup LD_LIBRARY_PATH variable in this environment to
point to libpcap and pfring libs, and my ldconfig output is:
/opt/libpcap/lib:
libpcap.so.1 -> libpcap.so.1.1.1
/usr/lib64/mysql:
libmysqlclient.so.16 -> libmysqlclient.so.16.0.0
libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0
/opt/pf_ring/lib:
libpfring.so -> libpfring.so
....
At this time, it is the same error for release 1.3.2 and from git version ...
On Sat, Oct 27, 2012 at 7:27 AM, Victor Julien <lists at inliniac.net> wrote:
> On 10/26/2012 10:13 PM, Martin Holste wrote:
>> --with-libpcre-includes=/usr/local/pcre-8.20-RC1/include
>> --with-libpcre-libraries=/usr/local/pcre-8.20-RC1/lib
>
> pcre is at 8.31 already, time to upgrade :)
>
> --
> ---------------------------------------------
> Victor Julien
> http://www.inliniac.net/
> PGP: http://www.inliniac.net/victorjulien.asc
> ---------------------------------------------
>
> _______________________________________________
> Oisf-users mailing list
> Oisf-users at openinfosecfoundation.org
> https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
More information about the Oisf-users
mailing list