Snort mailing list archives

Re: Problems installing Barnyard


From: Dirk Geschke <dirk () geschke-online de>
Date: Wed, 14 Jul 2004 11:54:02 +0200

Hi Barry,

I'm trying to install Barnyard with mysql enabled.

./configure --enable-mysql

I keep getting the following message

checking for mysql_real_connect in -lmysqlclient... no

******************************************************************
  ERROR: unable to find mysqlclient library
  checked in the following places
              /usr/lib/mysql
******************************************************************

I've double checked and the path to the mysql library is correct.  I've
installed snort and a few other tools that use mysql and they all work fine.

I'm running SuSE Linux.

probably you have the dynamic library of libmysql installed in
/usr/lib/mysql. The linking of dynamic libraries is a little bit
different than the static library.

The easiest solution is to add /usr/lib/mysql to /etc/ld.so.conf
and invoke "ldconfig". I guess this will solve this problem.

Otherwise take a look at config.log and find the real reason why
it does not find the library. Maybe some header files are not at
the right place...

Best regards

Dirk


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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: