Paul Howarth wrote:
Mark Sargent wrote:
Hi All,
got the following error when installing source snort,
********************************************** ERROR: unable to find mysql headers (mysql.h) checked in the following places /usr/include /usr/include/mysql /usr/local/include /usr/local/include/mysql **********************************************
and was told in the snort list that it needs the following, libmysqlclient-dev I checked here, http://download.fedora.redhat.com/pub/fedora/linux/core/3/SRPMS/ but nothing there. Is there a package that installs this lib.? Cheers.
The package you want is mysql-devel
# yum install mysql-devel
It is built from the mysql SRPM, so you won't find a mysql-devel SRPM, nor a libmysqlclient-dev SRPM.
Paul.
Hi All,
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.
Mark Sargent.