[Oisf-users] pf_ring and libnspr

Victor Julien lists at inliniac.net
Thu Apr 7 10:21:34 UTC 2016

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

More information about the Oisf-users mailing list