[Oisf-users] pf_ring and libnspr

Yasha Zislin coolyasha at hotmail.com
Wed Apr 6 12:23:56 UTC 2016


Adam,
I had exact the same problem with libnspr and I've fixed with extra switches for ./configure
Add these:-with-libnspr-libraries=/usr/lib/ -with-libnspr-includes=/usr/include/nspr

From: AWitt at westernalliancebank.com
To: oisf-users at lists.openinfosecfoundation.org
Date: Wed, 6 Apr 2016 04:27:39 +0000
Subject: [Oisf-users] pf_ring and libnspr









Greetings—
 
While attempting to ./configure suricata 3.0.1, I’m encountering an issue when applying the --enable-pfring flag. I receive the error below:
 
./configure \
--prefix=<DIR> \
--enable-pfring \
--enable-geoip \
--with-libpfring-includes=<DIR> \
--with-libpfring-libraries=<DIR> \
--with-libpcap-includes=<DIR> \
--with-libpcap-libraries=<DIR>
 
<snip>
checking for libnspr... yes
checking nspr.h usability... yes
checking nspr.h presence... yes
checking for nspr.h... yes
checking for PR_GetCurrentThread in -lnspr4... no
 
   ERROR!  libnspr library not found, go get it
   from Mozilla or your distribution:
 
   Ubuntu: apt-get install libnspr4-dev
   Fedora: yum install nspr-devel
 
...yet by removing the --enable-pfring flag and leaving everything else as-is, everything works nicely:




./configure \
--prefix=<DIR> \
--enable-geoip \
--with-libpfring-includes=<DIR> \
--with-libpfring-libraries=<DIR> \
--with-libpcap-includes=<DIR> \
--with-libpcap-libraries=<DIR>
 
checking for libnspr... yes
checking nspr.h usability... yes
checking nspr.h presence... yes
checking for nspr.h... yes
checking for PR_GetCurrentThread in -lnspr4... yes
 
Thoughts? Any help is greatly appreciated.
 
Adam
 

Need to send me a file too big for email? You can upload it at
www.westernalliancebancorp.sharefile.com





CONFIDENTIALITY. This email and any attachments are confidential, except where the email states it can be disclosed; it may also
 be privileged. If received in error, please do not disclose the contents to anyone, but notify the sender by return email and delete this email (and any attachments) from your system.






_______________________________________________
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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-users/attachments/20160406/33bba861/attachment-0002.html>


More information about the Oisf-users mailing list