[Snort-users] Snort doesn't work after compiling with MySQL

Nathan Spande NSpande at ...620...
Thu Nov 16 12:38:11 EST 2000


Probably you don't have /usr/local/mysql/lib/mysql in the library path.  Try
setting LD_LIBRARY_PATH or add it to /etc/ld.so.conf, and rerun ldconfig.
You should be fine then.

Nathan

-----Original Message-----
From: Johan.Augustsson [mailto:Johan.Augustsson at ...796...]
Sent: Thursday, November 16, 2000 8:20 AM
To: snort-users at lists.sourceforge.net
Subject: [Snort-users] Snort doesn't work after compiling with MySQL


Snort logging to MySQL sounds great, but what am I doing wrong?

I have MySQL installed in /usr/local/mysql on my linux-box and after 
reading the info on http://www.incident.org/snortdb/ I ran configure with 
the following options

--with-mysql-includes=/usr/local/mysql/include/mysql
--with-mysql-libraries=/usr/local/mysql/lib/mysql

And everything is just fine. I then ran make and make install without any 
problems. But when I try to run snort I get an error message.

./snort: error in loading shared libraries: libmysqlclient.so.10: cannot 
open shared object file: No such file or directory

The file libmysqlclient.so.10 exists in /usr/local/mysql/lib/mysql and is a 
link to the file libmysqlclient.so.10.0.0 in the same directory.
What am I doing wrong, and why can't I find the config file for Snort where 
to put following line?

output log_database: mysql, dbname=snort user=someuser host=localhost

Johan

_______________________________________________
Snort-users mailing list
Snort-users at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/snort-users



More information about the Snort-users mailing list