Snort mailing list archives
Problems installing Snort on RHEL5 with mySQL
From: Rayne <hjazz6 () ymail com>
Date: Tue, 21 Oct 2008 20:24:53 -0700 (PDT)
Hi all, I'm using Red Hat Enterprise Linux 5 and trying to install Snort 2.8.3. It seems that mySQL comes pre-installed as I only had to start the service (mysqld) to use it, although I have no mysql folder in /usr/include and have to create it myself and copy the header files from snort's include folder (snort-2.8.3.1/src/win32/WIN32-Includes/mysql). My problem is that when I configure, I get the 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.This seems to be a very common problem, and I've tried all the suggested solutions I could find, but none seems to work. I configured using the following: ../configure --with-mysql-includes=/usr/include/mysql --with-mysql-libraries=/usr/lib64/mysql --with-libpcap-libraries=/usr/lib64 --with-libpcre-libraries=/usr/lib64 --with-libnet-libraries=/usr/lib64 --enable-ipv6 --enable-pthread --enable-dynamicplugin --enable-perfprofiling I looked at the config.log file, and found the following errors among other error messages that had to do with missing certain header files or programming syntax errors/warnings, i.e. variables not declared/unused: configure:22073: gcc -o conftest -g -O2 -Wall conftest.c -lsocket -lsnl >&5 /usr/bin/ld: cannot find -lsocket collect2: ld returned 1 exit status configure:22512: checking for strlcpy configure:22568: gcc -o conftest -g -O2 -Wall conftest.c -lnsl >&5 /tmp/ccacaS90.o: In function 'main': /root/snortinstall/snort-2.8.3.1/conftest.c:66: undefined reference to 'strlcpy' collect2: ld returned 1 exit status configure:22512: checking for strlcat configure:22568: gcc -o conftest -g -O2 -Wall conftest.c -lnsl >&5 /tmp/ccAibsGe.o: In function 'main': /root/snortinstall/snort-2.8.3.1/conftest.c:66: undefined reference to 'strlcat' collect2: ld returned 1 exit status configure:23852: checking for libpcap version 0.9.0 - 0.9.4 configure:23889: gcc -o conftest -g -O2 -Wall -L/usr/lib64 conftest.c -lpcap -lm -lsnl l-pthread >&5 configure:23892: $? = 0 configure:23898: ./conftest configure:23901: $? = 1 configure: program exited with status 1 configure:25377: checking for dlsym in -ldl configure:25412: gcc -o conftest -g -O2 -Wall -DSUP_IP6 -DDYNAMIC_PLUGIN -I/usr/include/mysql -DENABLE_MYSQL -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/lib64/mysql conftest.c -ldl -lmysqlclient -lz -lpcre -lpcap -lm -lnsl -lpthread >&5 /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status configure:25453: checking for dlsym in -lc configure:25488: gcc -o conftest -g -O2 -Wall -DSUP_IP6 -DDYNAMIC_PLUGIN -I/usr/include/mysql -DENABLE_MYSQL -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/lib64/mysql conftest.c -lc -lmysqlclient -lz -lpcre -lpcap -lm -lnsl -lpthread >&5 /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status Please advise. Thank you. Regards, Rayne
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ 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:
- Problems installing Snort on RHEL5 with mySQL Rayne (Oct 21)
- Re: Problems installing Snort on RHEL5 with mySQL Rayne (Oct 21)