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

Steven Clark stevenc at ...803...
Thu Nov 16 14:09:53 EST 2000


You need to add the path to the mysql shared libraries into 
/etc/ld.so.conf and run the ldconfig program. Should work after that...

Steven


On Thu, 16 Nov 2000, Johan.Augustsson wrote:

> 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