DoorGunner
November 27th, 2006, 10:45 PM
Hi
I was compiling snort using this code
./configure --enable-dynamicplugin --with-mysql
and ended up with this error.
checking for mysql... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... no
checking for dlsym in -lc... no
ERROR! programmatic interface to dynamic link loader
not found. Cannot use dynamic plugin libraries.
I checked the cvs and this is the coding for this error
AC_ARG_ENABLE(dynamicplugin,
[ --enable-dynamicplugin Enable Ability to dynamically load preprocessors, detection engine, and rules lib (on by default, use --disable to not use dynamic libraries)],
use_dynamic="$enableval", use_dynamic=yes)
AM_CONDITIONAL(HAVE_DYNAMIC_PLUGINS, test x$use_dynamic = xyes)
if test x$use_dynamic = xyes; then
CFLAGS="$CFLAGS -DDYNAMIC_PLUGIN"
AC_CHECK_LIB(dl, dlsym,, DLLIB="no")
if test "$DLLIB" != "no"; then
LIBS="$LIBS -ldl"
else
AC_CHECK_LIB(c, dlsym,, DLCLIB="no")
if test "$DLCLIB" = "no"; then
echo
echo " ERROR! programmatic interface to dynamic link loader"
echo " not found. Cannot use dynamic plugin libraries."
echo
exit 1
fi
fi
fi
I also tried to compile with --disable-dynamicplugin
I was able to finish the compile. However, later i did require the plugin in order to access snortrules
What is the dlsym? Where would i find one to use for the compile process? or any suggestion would be helpful.
I was compiling snort using this code
./configure --enable-dynamicplugin --with-mysql
and ended up with this error.
checking for mysql... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... no
checking for dlsym in -lc... no
ERROR! programmatic interface to dynamic link loader
not found. Cannot use dynamic plugin libraries.
I checked the cvs and this is the coding for this error
AC_ARG_ENABLE(dynamicplugin,
[ --enable-dynamicplugin Enable Ability to dynamically load preprocessors, detection engine, and rules lib (on by default, use --disable to not use dynamic libraries)],
use_dynamic="$enableval", use_dynamic=yes)
AM_CONDITIONAL(HAVE_DYNAMIC_PLUGINS, test x$use_dynamic = xyes)
if test x$use_dynamic = xyes; then
CFLAGS="$CFLAGS -DDYNAMIC_PLUGIN"
AC_CHECK_LIB(dl, dlsym,, DLLIB="no")
if test "$DLLIB" != "no"; then
LIBS="$LIBS -ldl"
else
AC_CHECK_LIB(c, dlsym,, DLCLIB="no")
if test "$DLCLIB" = "no"; then
echo
echo " ERROR! programmatic interface to dynamic link loader"
echo " not found. Cannot use dynamic plugin libraries."
echo
exit 1
fi
fi
fi
I also tried to compile with --disable-dynamicplugin
I was able to finish the compile. However, later i did require the plugin in order to access snortrules
What is the dlsym? Where would i find one to use for the compile process? or any suggestion would be helpful.