snort-devel February 2014 archive
Main Archive Page > Month Archives  > snort-devel archives
snort-devel: Re: [Snort-devel] [PATCH]: daq-2.0.2 doesn't build

Re: [Snort-devel] [PATCH]: daq-2.0.2 doesn't build shared libs on FreeBSD 10.x

From: Joshua Kinard <kumba_at_nospam>
Date: Mon Feb 10 2014 - 02:19:40 GMT
To: snort-devel mailinglist <>

On 02/09/2014 8:59 PM, Joshua Kinard wrote:
> In daq-2.0.2 (and likely earlier), the shipped 'configure' script has this
> case statement in it:
> freebsd1*)
> dynamic_linker=no
> ;;
> Along with one other. This causes shared libraries to not get built or
> installed under FreeBSD 10.x.
> The attached patch fixes this by removing the offending lines from
> m4/libtool.m4. The configure script will need to be regenerated after
> applying to fix daq.
> I used these commands regenerate the configure script (taken from
> snort/doc/INSTALL, under the "FreeBSD 6.x section"):
> libtoolize --automake --copy
> aclocal -I m4 -I /usr/local/share/aclocal
> autoheader
> automake --add-missing --copy
> autoconf
> Cheers!,

FYI, I also noticed that daq's 'make install' command doesn't create the
usual symlinks for shared libs, either. It does, however, do this on
NetBSD-6.1.3 and DragonFlyBSD-3.6. I haven't tried OpenBSD yet, but might
soon. Seems like it's a definite quirk in the build system somewhere.
Perhaps there's another piece of code that's still thinking FreeBSD 10.x ==
FreeBSD 1.x?

-- Joshua Kinard Gentoo/MIPS 4096R/D25D95E3 2011-03-28 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. _______________________________________________ Snort-devel mailing list Archive: Please visit for the latest news about Snort!