Snort mailing list archives

Re: Re:Barnyard


From: Jeff Nathan <jeff () snort org>
Date: Thu, 9 Oct 2003 14:22:43 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Thursday, October 9, 2003, at 12:30 PM, John Creegan wrote:

Making no progress, but eliminating possibilities.  The error message I
get from configure is:
checking for mysql_real_connect in -lmysqlclient... no

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

There are two mysql client libraries there, libmysqlclint.a and
libmysqlclient_r.a.  They are "ar" files.  When I look at the ar file
contents with "ar -t" I don't see either "mysql_connect" or
"mysql_real_connect". When I do "ar -p | cat -v | more" and I found the
string "mysql_real_connect".

So now I'm even more confused.

Below is snipped output from the config.log file.  The log shows the
correct path to the file, and password.o is contained in the library.
That's as far as I can go.

Anyone know why configure is bombing here?

I do.

The function scramble() inside of libmysql uses floor() which is part of libm (libmath). Barnyard's autoconf tests don't check for floor in libm.

You'll have to add this to configure.in and then regenerate the configure script (using the instructions from my previous email):

AC_CHECK_LIB(m, floor,,)

Add that somewhere around line 137 in configure.in (before AC_CHECK_FUNCS(vsnprintf.......)

- -Jeff

- --
http://cerberus.sourcefire.com/~jeff       (gpg/pgp key id 6923D3FD)
"I want to know God's thoughts... the rest are details." - Albert Einstein

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQE/had4Eqr8+Gkj0/0RAj4OAKCuK0P5OFH4G81ZoKieppmXKMSoYQCeK6It
LZ311P+5+47VWXvdK8ALZOE=
=O3C4
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
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: