Snort mailing list archives

Re: Help with installing on RH4 R2


From: Dirk Geschke <dirk () geschke-online de>
Date: Wed, 22 Feb 2006 09:58:02 +0100

Hi Eric,

Hi, I'm trying to install Snort on RH ES4 R2 with the base RPMs from the CDs
following the directions provided by Patrick Harper. 

Everything runs great through the ./configure --with-mysql

When I run make, I am getting the following error:

/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[3]: *** [snort] Error 1

Has anyone run into this before? Any suggestions?

the problem is obviously, you either have not installed the
libmysqlclient library or you have installed it at a location
where the linker can not find it.

You can use the LDFLAGS envrionment variable with configure
to point to the correct location, e.g.:

LDFLAGS=-L/usr/local/mysql/lib/mysql ./configure --with-mysql

If it is a dynamic library you should also try to add the
search path to the executable. 

Best regards

Dirk


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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: