[Oisf-users] pf_ring and libnspr

Edwin van Vliet edwin.vanvliet at fox-it.com
Thu Apr 7 10:31:04 UTC 2016

You will need libnuma-devel, to be more precise.

Best regards,

Edwin van Vliet

-----Original Message-----
From: Oisf-users [mailto:oisf-users-bounces at lists.openinfosecfoundation.org] On Behalf Of Victor Julien
Sent: donderdag 7 april 2016 12:22
To: Adam Witt <AWitt at westernalliancebank.com>; oisf-users at lists.openinfosecfoundation.org
Subject: Re: [Oisf-users] pf_ring and libnspr

On 06-04-16 22:38, Adam Witt wrote:
> configure:18756: checking for nspr.h
> configure:18756: result: yes
> configure:18769: checking for PR_GetCurrentThread in -lnspr4
> configure:18794: gcc -o conftest -g -O2 -march=native -I./../libhtp/  -I/opt/pfring/include -I/opt/pfring/include -I/opt/libcap-ng-0.7.4/include -I/usr/include/nspr4   -I/usr/include/nspr4   -L/opt/pfring/lib  -L/opt/pfring/lib  -L/opt/libcap-ng-0.7.4/lib  -L/lib64 conftest.c -lnspr4  -lpfring -lpcap -lnet -ljansson -lpthread -lyaml -lpcre  -lrt -lnuma -lplds4 -lplc4 -lnspr4 -lpthread -ldl   >&5
> /usr/bin/ld: cannot find -lnuma
> collect2: ld returned 1 exit status

Looks like you're missing libnuma. The pfring checks adds it to LIBS, tests after pfring use the updated LIBS and fail. Not pretty :)

Installing libnuma should fix this issue.

Victor Julien
PGP: http://www.inliniac.net/victorjulien.asc

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 9-11 in Washington, DC: http://oisfevents.net

More information about the Oisf-users mailing list