firnsy / barnyard2

Barnyard2 is a dedicated spooler for Snort's unified2 binary output format.
GNU General Public License v2.0
344 stars 190 forks source link

Barnyard2 - Mysql support problem #220

Open markalk opened 7 years ago

markalk commented 7 years ago

Hi everybody, i'm facing with a bad problem, mysql support on barnyard2. It says this:

Barnyard2 spooler: Event cache size set to [2048] Log directory = /var/log/barnyard2 ERROR database: 'mysql' support is not compiled into this build of barnyard2

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

If this build of barnyard2 was compiled by you, then re-run the the ./configure script using the '--with-mysql' switch. For non-standard installations of a database, the '--with-mysql=DIR' syntax may need to be used to specify the base directory of the DB install.

But i have tried to install mysql support, with the string --with-mysql etc etc and everything worked fine, i could do the installation but anytime i try to start barnyard2 i get always this error.. Libmysqlclient is already installed at new version, i have checked...

what can i do?

nan008 commented 7 years ago

Hi, I had some issues with mysql as well. I fixed it when I run

./configure --with-mysql --with-mysql-libraries=/usr/lib64/

Maybe it will be any help to you

splyntr commented 6 years ago

Hope this helps.

https://www.infosysteria.com/barnyard2-not-running-in-centos-7/