Snort mailing list archives
Re: error while trying to install snort v2.1.1 with mySql v4.0.18
From: "AJ Butcher, Information Systems and Computing" <Alex.Butcher () bristol ac uk>
Date: Thu, 25 Mar 2004 09:55:46 +0000
--On 24 March 2004 15:36 -0800 "Luong, Natalie N" <natalie.n.luong () lmco com> wrote:
gcc -g -O2 -Wall -L/usr/local/lib -L/usr/lib -L/lib -L/usr/local/mysql/lib -lm -L/usr/local/lib -lpcre -L/usr/local/mysql/lib -o snort codes.o debug.o decode.o log.o mstring.o parser.o plugbase.o snort.o snprintf.o strlcatu.o strlcpyu.o tag.o ubi_BinTree.o ubi_SplayTree.o util.o detect.o signature.o mempool.o sf_sdlist.o fpcreate.o fpdetect.o pcrm.o byte_extract.o sfthreshold.o packet_time.o event_wrapper.o output-plugins/libspo.a detection-plugins/libspd.a preprocessors/libspp.a preprocessors/flow/portscan/libportscan.a preprocessors/flow/libflow.a parser/libparser.a preprocessors/HttpInspect/libhttp_inspect.a sfutil/libsfutil.a -lz -lpcre -lpcap -lm -lnsl -lmysqlclient /usr/local/mysql/lib/libmysqlclient.a(my_compress.o)(.text+0xb4): In function `my_compress_alloc': : undefined reference to `compress' /usr/local/mysql/lib/libmysqlclient.a(my_compress.o)(.text+0x12a): In function `my_uncompress': : undefined reference to `uncompress'
The 'compress' and 'uncompress' symbols come from zlib, so you should install zlib-devel and add -lz to the link flags (aka LDFLAGS, maybe).
Note that I haven't tried getting snort to work with MySQL 4.x, but I ran into the same problems with mudpit and MySQL 4.x. Unfortunately, I ran into other, stranger problems (and was warned by mudpit's author than further stranger problems lay beyond those!) so I gave up and reverted to MySQL 3.x.
Best Regards, Alex. -- Alex Butcher: Security & Integrity, Personal Computer Systems Group Information Systems and Computing GPG Key ID: F9B27DC9 GPG Fingerprint: D62A DD83 A0B8 D174 49C4 2849 832D 6C72 F9B2 7DC9 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ 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:
- error while trying to install snort v2.1.1 with mySql v4.0.18 Luong, Natalie N (Mar 24)
- Re: error while trying to install snort v2.1.1 with mySql v4.0.18 AJ Butcher, Information Systems and Computing (Mar 25)