[Oisf-users] pf_ring and libnspr

Victor Julien lists at inliniac.net
Wed Apr 6 06:06:37 UTC 2016


On 06-04-16 07:56, Adam Witt wrote:
> I would also like to add, this servers is running RHEL 6, and that I
> installed pf_ring from today’s rpm build. I also installed pf_ring-aware
> libpcap from source.
> 
>  
> 
> It appears that a similar User had the same problem, but was able to
> remedy the situation by installing the proper pf_ring-aware libpcap
> which I have already done:
> https://lists.openinfosecfoundation.org/pipermail/oisf-users/2016-February/005695.html
> 
>  
> 
> I also double-checked to ensure that both libcap-ng-devel and the
> relevant nspr packages are installed, and they are.
> 

Can you attach your config.log from the source directory?

Cheers,
Victor



> 
> Adam
> 
>  
> 
> *From:*Oisf-users
> [mailto:oisf-users-bounces at lists.openinfosecfoundation.org] *On Behalf
> Of *Adam Witt
> *Sent:* Tuesday, April 05, 2016 9:28 PM
> *To:* oisf-users at lists.openinfosecfoundation.org
> *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/*
> <http://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.
> 
>  
> 
> /Need to send me a file too big for email? You can upload it at
> //*www.westernalliancebancorp.sharefile.com*/
> <http://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
> 


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




More information about the Oisf-users mailing list