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

Austad, Jay austad at ...432...
Thu Nov 16 12:42:50 EST 2000

Put /usr/local/mysql/lib/mysql into your /etc/ld.so.conf and run ldconfig.
Alternatively, you could just make links in /usr/bin to each mysql lib and
run ldconfig.


> -----Original Message-----
> From: Johan.Augustsson [mailto:Johan.Augustsson at ...796...]
> Sent: Thursday, November 16, 2000 7: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