The link library name for the APPID option used to enable the new OpenAppID feature in Snort 2.9.7.0 in missing in the Makefile. This line should enable linking with the luajit-5.1 library required for APPID support, but notice the required library name is missing: APPID_CONFIGURE_ENV+= luajit_CFLAGS="-I${LOCALBASE}/include/luajit-2.0" \ luajit_LIBS="-L${LOCALBASE}/lib" This is the corrected line with the required library specified: APPID_CONFIGURE_ENV+= luajit_CFLAGS="-I${LOCALBASE}/include/luajit-2.0" \ luajit_LIBS="-L${LOCALBASE}/lib -lluajit-5.1"
Auto-assigned to maintainer zi@FreeBSD.org
Without the required library name specified, Snort will successfully compile but you get a runtime error with undefined symbols when you attempt to enable the APPID feature in snort.conf.
A commit references this bug: Author: zi Date: Tue Jan 6 01:33:34 UTC 2015 New revision: 376381 URL: https://svnweb.freebsd.org/changeset/ports/376381 Log: - Fix runtime issue with APPID enabled PR: 195019 Submitted by: Bill Meeks <bmeeks8@bellsouth.net> Changes: head/security/snort/Makefile