[Oisf-users] Error compiling suricata 1.3.2 against pf_ring 5.4.6

Peter Manev petermanev at gmail.com
Mon Oct 29 12:03:08 UTC 2012


Hi ,

What is our exact start command?
I am not sure if you have seen this guide -
https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Installation_from_GIT_with_PF_RING_on_Ubuntu_server_1204


thank you

On Mon, Oct 29, 2012 at 12:57 PM, C. L. Martinez <carlopmart at gmail.com>wrote:

> 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
> _______________________________________________
> Oisf-users mailing list
> Oisf-users at openinfosecfoundation.org
> https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
>



-- 
Regards,
Peter Manev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-users/attachments/20121029/9ee77e11/attachment-0002.html>


More information about the Oisf-users mailing list