[Oisf-users] Suricata compilation issues with pf_ring

Peter Manev petermanev at gmail.com
Mon Sep 21 19:42:03 UTC 2015

On Mon, Sep 21, 2015 at 8:53 PM, Spransy, Derek <dsprans at emory.edu> wrote:
> Hello all,
> My apologies if this has been asked and answered previously, but I'm new to the list. I'm attempting to compile Suricata 2.0.8 on RHEL 7 with pf_ring (zero-copy) support. I encountered some problems while running configure during the linking of the pf_ring libraries. I found another listserv post that suggested setting LIBS="-lrt -lnuma" prior to running configure. This does indeed get me past the problems linking pf_ring, but later on I believe it causes issues with linking libpcap and file. The necessary packages are installed, and if I compile Suricata without pf_ring support, everything configures and compiles as expected.
> Here's a link to the output that I get when I compile with the LIBS variable defined, and without:
> http://pastebin.com/8TfCAJQ3
> And here's a snipped of the errors in config.log when run configure with and without the LIBS variable defined:
> http://pastebin.com/SFz0GR26
> If anyone has seen this previously, can you suggest a workaround? Any help would be appreciated!

Is the file magic dev installed , if not -> apt-get install
libmagic-dev (on Ubuntu as suggested from the configure output) and
then redo the configure..... again.

> Thanks,
> Derek
> ________________________________
> This e-mail message (including any attachments) is for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information. If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination, distribution
> or copying of this message (including any attachments) is strictly
> prohibited.
> If you have received this message in error, please contact
> the sender by reply e-mail message and destroy all copies of the
> original message (including attachments).
> _______________________________________________
> Suricata IDS Users mailing list: oisf-users at openinfosecfoundation.org
> Site: http://suricata-ids.org | Support: http://suricata-ids.org/support/
> List: https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
> Suricata User Conference November 4 & 5 in Barcelona: http://oisfevents.net

Peter Manev

More information about the Oisf-users mailing list