Snort mailing list archives
RE: Barnyard 0.1.0 and the "unable to find mysqlcli ent library" issue
From: PPowenski () oag com
Date: Tue, 20 Jan 2004 09:51:14 -0000
with mysql I encountered the same problem. My resolution was to follow EXACTLY the install instructions for Mysql for the version you have. Cannot understand why the mysql team makes this so odd to install. the install script adds the pointers in the path for snort to find the libs and headers. otherwise, a bulk excedrin pain killer purchase (which will not cure this) is necessary or use the linux distro of Mysql which is still version 3 but works for 2.0.x. Don't see why it would not work for 2.1 hope this helps -----Original Message----- From: John Sage [mailto:jsage () finchhaven com] Sent: 20 January 2004 00:13 To: Dirk Geschke Cc: snort-users () lists sourceforge net Subject: Re: [Snort-users] Barnyard 0.1.0 and the "unable to find mysqlclient library" issue 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.9where 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
-------------------------------------------------------
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:
- RE: Barnyard 0.1.0 and the "unable to find mysqlcli ent library" issue PPowenski (Jan 20)
