Snort mailing list archives

Re: Barnyard 0.1.0 and the "unable to find mysqlclient library" issue


From: John Sage <jsage () finchhaven com>
Date: Mon, 19 Jan 2004 16:12:41 -0800

Dirk:

On Mon, Jan 19, 2004 at 11:16:50PM +0100, Dirk Geschke wrote:
Subject: Re: [Snort-users] Barnyard 0.1.0 and the "unable to find
      mysqlclient library" issue
From: Dirk Geschke <Dirk () geschke-online de>
To: John Sage <jsage () finchhaven com>
Cc: John Whitson <john () technologicus net>, snort-users () lists sourceforge net
Date: Mon, 19 Jan 2004 23:16:50 +0100

Hi John,

I've been screwing aroung with this issue for about three hours now,
and I'm just about ready to cd /usr/local/barnyard-0.1.0. and rm -rf *
the whole f*cking thing.

specs:

snort 2.1.0 build 9
barnyard 0.1.0
mysql Ver 11.18 Distrib 3.23.58
uname -a Linux 2.4.20-24.9

where is you libmysql installed and what kind of library
do you have?

Here's what's going on, snipped.

Any variation on:

[root@greatwall barnyard-0.1.0]# ./configure --enable-mysql \
 --with-mysql-includes=/usr/local/mysql-3.23.58/include \
 --with-mysql-libraries=/usr/local/mysql-3.23.58/libmysql

or

 --with-mysql-libraries=/usr/lib/mysql

fails, thus:

/* snip */

checking for strerror... yes
checking /usr/local/mysql-3.23.58/include/mysql.h usability... yes
checking /usr/local/mysql-3.23.58/include/mysql.h presence... yes
checking for /usr/local/mysql-3.23.58/include/mysql.h... yes
checking for mysql_connect in -lmysqlclient... no

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

/* snip */


[root@greatwall /usr/lib/mysql]# ls
libmysqlclient_r.so.10      libmysqlclient.so.10
libmysqlclient_r.so.10.0.0  libmysqlclient.so.10.0.0


[root@greatwall /usr/lib/mysql]# less /etc/ld.so.conf
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-3.1/lib
/usr/lib/mysql
/usr/local/mysql-3.23.58/libmysql




It's interesting that google comes up with many variants on this
question, but no apparent answers...



- John
-- 
"Mad cow? You'd be mad too, if someone was trying to eat you."


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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: