[Snort-users] Problem compiling snort + mysql

Jeremy Hewlett jh at ...1935...
Thu Nov 4 09:05:51 EST 2004


On Thu, Nov 04, ml at ...12631... wrote:
> 
> Upon compiling I get the following error message:
> 
> /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0xbc): In function
> `my_compress_alloc':
> : undefined reference to `compress'
> /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x13a): In function
> `my_uncompress':
> 
> I added LDFLAGS = "-lz" before running configure but no luck. Still same error
> message.

In the Makefile, move lmysqlclient before lz. Alternatively, this
has been fixed in the 2.3 branch and Head, so you could try that.







More information about the Snort-users mailing list