Paul Howarth wrote:
Mark Sargent wrote:
Paul Howarth wrote:
Mark Sargent wrote:
Paul, if I do a yum install mysql-dev, I get the following,
Dependencies Resolved Transaction Listing: Install: mysql-devel.i386 0:3.23.58-14
Performing the following to resolve dependencies:
Install: mysql.i386 0:3.23.58-14
Install: perl-DBD-MySQL.i386 0:2.9003-5
Is this ok [y/N]:
but, I don't wish to install mysql via yum, as it's already installed via source. How do I get around this.? Cheers.
Where did you install it to?
Somewhere under that directory you should find a mysql.h. You need to tell snort where to find mysql.h
Paul.
Hi All,
Paul, here are the lib files for my mysql install @ /usr/local/mysql.
[root@localhost lib]# ls libdbug.a libmysqlclient.a libmysqld.a libmystrings.a libmygcc.a libmysqlclient_r.a libmysql.imp libmysys.a
I'm not too sure what to do here. I've done a locate for mysql-devel, mysql-devel* and got nothing. Cheers.
How did you install mysql from source? There should be a bunch of headers files (in a separate directory) as well as these libraries.
Why did you install mysql from source?
snort is looking for mysql.h - that's the file you should start looking for:
# find /usr/local -name mysql.h -print
Paul.
Hi All,
actually, not from sorce, from binary...still get confused sometimes between the 2, eh. Ok, find found that file in includes. Now all I need to do is find out how to tell snort to look there when configuring. Cheers, once again, Paul.
Mark Sargent.