OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [Snort-users] Barnyard 0.1.0 and the "unable to find mysqlclient library" issue

From: Dirk Geschke (Dirkgeschke-online.de)
Date: Mon Jan 19 2004 - 16:16:50 CST


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?

If it is a dynamic library then it is very likely that
the library path does not match.

Did you add /usr/local/mysql/lib/mysql (or wherever the library
is installed) to the file /etc/ld.so.conf? Don't forget to run
ldconfig afterwards.

If it is a static library than either the PATH to the library
is missing during the link process like for example
LDFLAGS=-L/usr/local/mysql/lib/mysql

It is also possible and not uncommon that you have to link
explicitly against libz.a if you use the static version.

And finally: Look at config.log, there you can fine normally
the real reason why the check for the library fails.

Best regards

Dirk Geschke

-------------------------------------------------------
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-userslists.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