Snort mailing list archives

Barnyard w/ mysql issues


From: "Phinizy William" <phinizyw () bandai com>
Date: Fri, 4 Jun 2004 12:00:02 -0700

Problem installing barnyard w/ mysql:

./configure --enable-mysql
--with-mysql-includes=/usr/local/include/mysql
--with-mysql-libraries=/usr/local/lib/mysql

Error:
...
checking for snprintf... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for strerror... yes
checking for /usr/local/include/mysql/mysql.h... yes
checking for mysql_real_connect in -lmysqlclient... no


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

Misc. info:

# locate mysqlclient
/usr/local/lib/mysql/libmysqlclient.a
/usr/local/lib/mysql/libmysqlclient.so
/usr/local/lib/mysql/libmysqlclient.so.10

# pkg_info | grep mysql
mysql-client-3.23.58_2 Multithreaded SQL database (client)
mysql-server-3.23.53 Multithreaded SQL database (server)

I have tried variants of line 285 which include removing the -lz -lssl,
still nothing:

LIBS="${LIBS} --lz -lssl -lmysqlclient" AC_CHECK_LIB(mysqlclient,
mysql_real_connect, FOUND=yes, FOUND=no)

Running:

FreeBSD 4.10 PreRelease
Barnyard 0.2.0 (or trying to)
Mysql version above


Am I doing something wrong-how to install barnyard-0.2.0 w/ mysql
support?

Thanks,

W. Harison Phinizy
Systems Administrator
Bandai America
phinizyh () bandai com


Current thread: