[Snort-devel] Building Snort 2.8.0 on MAC OSX 10.5 (Leopard)

Steven Sturges steve.sturges at ...402...
Thu Nov 29 11:59:06 EST 2007


For those who use Snort on a MAC, this might be helpful...

The following is courtesy of Martin Fong, who's helped us track down
an issue seen when starting Snort w/ dynamic preprocessor libraries
on MAC OSX 10.5.  The text below will be included with in the
MAC OSX section of doc/INSTALL in the next release as well.

------
For users of Max OSX 10.5 (Leopard), the following environment variables
must be set before running configure & make.

Reference information for MAC OSX 10.5 (Leopard) can be found at these
two links.

http://developer.apple.com/releasenotes/Darwin/SymbolVariantsRelNotes
http://lists.apple.com/archives/xcode-users/2007/Jun/msg00163.html

$ export LD_TWOLEVEL_NAMESPACE=1
$ export MACOSX_DEPLOYMENT_TARGET=10.5
$ ./configure
$ make
------

Also, with Snort 2.8.0, the dynamicengine line in the default
snort.conf must be updated to load libsf_engine.dylib, instead of
libsf_engine.so.  The following line:

    dynamicengine /usr/local/lib/snort_dynamicengine/libsf_engine.so

Should be changed to:

    dynamicengine /usr/local/lib/snort_dynamicengine/libsf_engine.dylib

Happy (MAC) Snorting.  :)

Cheers.
-steve




More information about the Snort-devel mailing list