Snort mailing list archives

Re: Problem installing Snort 2.3.3


From: "Senthil Prabu.S" <prabu333 () hotpop com>
Date: Thu, 5 May 2005 09:17:07 +0530

Hi,
CAn you give me more idea where to add "-Lpath-to-the-mysql-library -lmysqlclient"
under ./configure?
Please advise.

Where do you have the mysql library files installed on your
system. Snort requires the mysqlclient.sl library.

In the snort-2.3.2 configure file
Line no : 6533
you can find a line as
"      LIBS="-lmysqlclient ${LIBS}"
Here, compiler searches for mysqlclient library at /usr/lib.
Since you have them installed at some other path, you are
getting these errors.

So you need to tell explicitly to compiler where they are found .
This can be done by exporting the flags as below

export LDFLAGS="-L/path/where/mysqlclient/lib/ispresent/"

Or
simply edit the configure file at 6533
Before:
"      LIBS="-lmysqlclient ${LIBS}"
After:
" LIBS="-l/path/of/mysqlclient/in ur machine/ ${LIBS}"

Hope this helps

--
Senthil Prabu.S



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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: