Snort mailing list archives

RE: Help : Snort 2.0 + Mysql Support troubles (Yes again...)


From: Dean Davis <Dean.Davis () mbg-inc com>
Date: Tue, 15 Jul 2003 12:25:29 -0400

Are you running RedHat with version 4.x of MySQL? I've had problems with
both. Try RedHat with 3.x of MySQL.

Thanks,

Dean Davis, MCSE,MCDBA,CCNA,CNA,N+,Linux+
www.linuxcbt.net
The Emperor of E-Learning!

-----Original Message-----
From: James Nonya [mailto:slave_tothe_box () yahoo com]
Sent: Tuesday, July 15, 2003 11:39 AM
To: snort-users () lists sourceforge net
Subject: Re: [Snort-users] Help : Snort 2.0 + Mysql Support troubles
(Yes again...)


On Tue, 15 Jul 2003 17:04:13 +0200
"SouchMan NuxBox" <souchman () nuxbox com> wrote:

Hello all !

In firts please escuse my poor english : i'm french.

I'v got the same problem than some other post : 
I can't use the --with-mysql=<patch> with success
...

My MySql Database Work Fine, i'v got my
libmysqlclient.so.10.0.0 file here = /usr/lib/mysql
but when i launch the compillation i'got these : 


./configure --with-mysql=/usr/lib/mysql | grep mysql
checking for mysql... no

:-(

and fataly i'v got this error if i try to launch
Snort :


#######################################################
database: configured to use mysql
database: 'mysql' support is not compiled into this
build of snort

ERROR: If this build of snort was obtained as a
binary distribution (e.g., rpm,
or Windows), then check for alternate builds that
contains the necessary
'mysql' support.

#######################################################

Same if i do "--with-mysql=/usr" or "/usr/lib" ....

I think /usr/lib/mysql is realy the right folder,
because i have only 1 mysql databse installed and not
any other libmysqlclient.so.10.0.0 anywhere.

Could someone Explain me (slowly and whith simple
words ;-) please )
the way to resolve this problem if its possible ?

Thanks to All !

Souch.



Where is your mysql located?  Mine is
/usr/local/mysql.  ./configure
--with-mysql=/usr/local/mysql.  Then, add
/usr/local/mysql/lib/mysql to /etc/ld.so.conf and run
ldconfig as root.  Should work when you start snort
since I *think* snort is looking for headers on
compile, and libmysqlclient (loaded when we did our
ldconfig) when it starts.

James




__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: