Snort mailing list archives

Re: barnyard/CentOS 5.x/mysql libs (x86/i386)


From: Harry Hoffman <hhoffman () ip-solutions net>
Date: Mon, 19 Jan 2009 13:47:02 -0500

yeah, it's installed (that's why I see the mysql client libs):
$rpm -qa|grep -i mysql
mysql-5.0.45-7.el5
mysql-5.0.45-7.el5
mysql-devel-5.0.45-7.el5
mysql-devel-5.0.45-7.el5

$ rpm -ql mysql-devel |grep mysqlclient
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.so
/usr/lib/mysql/libmysqlclient_r.a
/usr/lib/mysql/libmysqlclient_r.so
/usr/lib64/mysql/libmysqlclient.a
/usr/lib64/mysql/libmysqlclient.so
/usr/lib64/mysql/libmysqlclient_r.a
/usr/lib64/mysql/libmysqlclient_r.so

$ ./configure --host=x86_64-redhat-linux-gnu
--build=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --enable-mysql

<snip>

checking for mysql_real_connect in -lmysqlclient... no


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


--Harry

On Mon, 2009-01-19 at 13:19 -0500, Joel Esler wrote:
mysql-dev, IIRC.

Joel

On Jan 19, 2009, at 1:10 PM, Harry Hoffman allegedly wrote:

Hi,

Anyone using the combination of barnyard/CentOS5.x/mysql-5.x libs?

I'm trying to compile barnyard and configure is bitching about
mysql_real_connect not being found in the libs.

I see the mysql client libs there and the api states that
mysql_real_connect should exist.

Unsure what I'm missing.

Cheers,
Harry


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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


--
Joel Esler
  http://www.joelesler.nethttp://www.twitter.com/joelesler
[m]



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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: