Snort mailing list archives

Re: daq_static error on snort build


From: "Nerijus Krukauskas" <nkrukauskas () gmail com>
Date: Fri, 8 Oct 2010 09:07:23 +0300 (EEST)


On Fri, October 8, 2010 01:45, tgiles () echoforest org wrote:
Hi, all.

Any particular trick to handle the "daq_static library not found" error
message when compiling 2.90 from source?

Compiled libpcap-1.0.0 without issue. daq-0.2 is fine as well. When I go
to configure snort, I end up with:

ERROR!  daq_static library not found, go get it from...

I spent the past hour or two rooting around on the commandline, trying
different options without success. All other new requirements for my
CentOS 5 32 bit testing system (libdnet, bison, flex, etc) are installed
without a problem.

I re-downloaded all packages, wiped the target directory on several
occasions, etc. and still can't get snort's build to see any daq_static
files.

Make sure ld can find your libraries in linking phase. I had to add
/usr/local/lib (that's where libpcap and daq was installed) to
/etc/ld.so.conf and rerun ldconfig -v just to see it finds those libs.
After doing this step there's no need to specify all the lib paths in
./configure phase anymore.

-- 
http://nk99.org/



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: