On Mon, Nov 17, 2003, Christopher M. O'Malley wrote:
> The openpkg snort source .rpm doesn't appear to have any db support op-
> tions built-in (mysql/postgres/etc). I tried adding support for mysql
> mysql (i'm rather new at dealing with openpkg as yet..) and I'm getting
> a compile error which appears to be related to zlib support.. can any-
> one offer any advice on this?
>
> gcc -g -O2 -Wall -L/ilocal/lib -L/ilocal/lib -L/ilocal/lib/mysql -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
> threshold.o fpcreate.o fpdetect.o mwm.o mpse.o acsmx.o pcrm.o
> sfksearch.o byte_extract.o sfthd.o sfthreshold.o sfxhash.o sfghash.o
> sfhashfcn.o sflsq.o sfmemcap.o output-plugins/libspo.a
> detection-plugins/libspd.a preprocessors/libspp.a parser/libparser.a -lz
> -lpcap -lm -lsocket -lnsl -lmysqlclient
> /ilocal/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0xa8): In
> function compress'
> /ilocal/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x12c): In
> function uncompress'
> collect2: ld returned 1 exit status
> make[3]: *** [snort] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> error: Bad exit status from /ilocal/RPM/TMP/rpm-tmp.31683 (%build)
Hmmm... are you sure this is a complete output of the session? There
is no descriptive error message like "multiple defintion of symbol" or
"unresolved symbol", etc. There is just the hint that the problem seems
to be in the compress/uncompress functions of the MySQL client library.
Hmmm... I've no clue what is going on here. What platform is this?
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]