[Snort-users] compilation problem for mySQL

tech at ...5916... tech at ...5916...
Thu May 23 06:42:03 EDT 2002


Hello all,

I am using for a long time mySQL-max-3.23.49. It works fine with Apache
and PHP webs. Now, I try to compile snort 1.8.6 with "./configure
--with-mysql=/usr/local/mysql-max-3.23.49-pc-linux-gnu-i686"
Configuring works fine, writes
....
checking for floor in -lm... (cached) yes
checking for pcap_datalink in -lpcap... (cached) yes
checking for mysql... yes
checking for compress in -lz... (cached) yes
....

but when send "make", compiling proccess stop with following errors.

....
/usr/local/mysql-max-3.23.49-pc-linux-gnu-i686/lib/libmysqlclient.a(my_compress.o):
In function `my_uncompress':my_compress.o(.text+0xa2): undefined reference to `uncompress'
/usr/local/mysql-max-3.23.49-pc-linux-gnu-i686/lib/libmysqlclient.a(my_compress.o):
In function `my_compress_alloc':my_compress.o(.text+0x13a): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [snort] Error 1
make[2]: Leaving directory `/install/checking/snort/snort-1.8.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/install/checking/snort/snort-1.8.6'
make: *** [all-recursive-am] Error 2
[root at ...5917... snort-1.8.6]#
....

I do not know what steps is wrong and whot to do for best solution. My
target is running ACID console...
Many thanks for all help,

Petr Simecek



--------------------------
http://www.diakoniecce.cz/






More information about the Snort-users mailing list