Snort mailing list archives

RE: Snort Db Problem


From: Patrick.Prue () fantom com
Date: Fri, 20 Jul 2001 15:48:33 -0400

I got it figured out with help from Roman.


-----Original Message-----
From: Brian O. Culver [mailto:Brian.Culver () oit gatech edu] 
Sent: Friday, July 20, 2001 2:46 PM
To: snort-users () lists sourceforge net
Subject: Re: [Snort-users] Snort Db Problem


At 01:39 PM 7/20/2001 -0400, Patrick.Prue () fantom com wrote:

I may be missing something here but I am trying to snort up and running
with MySql Support
Configured the source with ./configure --enable-flexresp 
--with-mysql=/usr/local/mysql

Seems to compile fine..
Created the database schema etc , granted the rights to the user , ran 
the
create database script from the contrib dir.

Edited the configuration file for snort for output to mysql. When I 
launch snort with the following ./snort -c snort.conf
./snort: error in loading shared libraries: libmysqlclient.so.10: cannot 
open shared object file: No such file or directory

This is what I get...
This file is located in the mysql/lib/mysql dir..

Am I missing something?

Thanks


Do an 'ldd' on the snort binary to list the dynamic dependencies.

Example:

[root@big-ole-pig snort]# ldd snort
libz.so.1 => /usr/lib/libz.so.1 (0x40025000)
libm.so.6 => /lib/libm.so.6 (0x40033000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40053000) libmysqlclient.so.9 =>
/usr/lib/mysql/libmysqlclient.so.9 (0x4006a000) libodbc.so.1 =>
/usr/lib/libodbc.so.1 (0x40095000) libpq.so.2.1 => /usr/lib/libpq.so.2.1
(0x400d1000) libssl.so.0 => /usr/lib/libssl.so.0 (0x400e3000) libcrypto.so.0
=> /usr/lib/libcrypto.so.0 (0x40111000) libc.so.6 => /lib/libc.so.6
(0x401ca000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x402ef000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4031c000) libdl.so.2 =>
/lib/libdl.so.2 (0x40332000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2
(0x40000000)

The libmysqlclient library should (by default) be listed under the 
directory /usr/lib/mysql/


Hope that helps!


------
Brian.Culver () oit gatech edu
Technical Project Director
Information Security / OIT / GaTech
"Solving Security Problems Since the Epoch!"
Phone: (404) 894-9014

Email Page: beep () leash ns gatech edu / Subject: Page Brian


_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
http://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Current thread: