[Snort-users] Installing Snort2.0 w/ MySQL support

SecurityAdmin at ...7345... SecurityAdmin at ...7345...
Wed Apr 30 10:38:12 EDT 2003

If this is a sensor here's what I do to install it.....
install Libpcap
# cd libpcap-0.7.X
# ./configure
# make
# make install
6) Install Mysql client
# cd ..
# cd mysql-3.23.X
# ./configure --without-server
# make
# make install
7) Install snort with MySql support
# cd ..
# cd snort-x.x.x
# ./configure --with- mysql
# make
# make install
8) Create a snort subdirectory under /etc
# cd /etc
# mkdir snort
9) copy or move all the .rules files from /rules to /etc/snort
# cd /home/software/rules
# cp *.rules /etc/snort/
10) Copy the classification.config file to the root of /etc
# cp classification.config /etc/
11) Copy the snort.conf file to the root of /etc
# cp snort.conf /etc/
12) Copy the MySQL libraries file from /usr/local/lib/mysql to /usr/lib
# cd /usr/local/lib/mysql
# cp libmysqlclient.so.10 /usr/lib/
For the client side of mysql I have never changed the install path, but
possibly the libraries need to be moved per #12?
This is on FreeBSD, but it should be close. Here is a link to the entire
sid=1> &name=News&file=article&sid=1
-----Original Message-----
From: David Alonso De La Vega Tapage [mailto:delavegad at ...7768...] 
Sent: Wednesday, April 30, 2003 10:52 AM
To: snort
Cc: snort-users at lists.sourceforge.net
Subject: Re: [Snort-users] Installing Snort2.0 w/ MySQL support
./configure --with-mysql=/usr

snort wrote:

I'm trying to install snort-2.0.0 with mysql support.  After installing
mysql I try to install snort with mysql support but the output of configure
--with-mysql=/usr/local/lib/mysql is: "checking for mysql... no".  Here is
my install procedure starting with mysql:
mysql-3.23.56 - installs without any problems
./configure --without-server
make && make install
./configure --with-mysql=/usr/local/lib/mysql
checking for mysql... no
I believe the necessary mysql client library files have been installed to
/usr/local/lib/mysql - they are: libmysqlclient.a, libmysqlclient.la, and
libmysqlclient.so.10.0 .  The OS is OpenBSD 3.2.  Does anyone see where I'm
going wrong?  Any help would be greatly appreciated.


****** Message from InterScan E-Mail VirusWall NT ******
** No virus found in attached file noname.htm
** No virus found in attached file noname.htm
Este correo ha sido revisado y esta libre de virus. Disclaimer
*****************     End of message     ***************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20030430/7a729487/attachment.html>

More information about the Snort-users mailing list