[Snort-users] Problem compiling snort + mysql
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
> : undefined reference to `compress'
> /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x13a): In function
> I added LDFLAGS = "-lz" before running configure but no luck. Still same error
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