[Snort-users] snort 1.7 compiling with mysql

Jed Pickel jed at ...153...
Thu Jan 18 16:03:32 EST 2001


Interesting... Looks like others have had this same problem linking
the mysqlclient library with other applications. Try grabbing a newer
glibc. If that solves the problem let me know.

* Jed

On Thu, Jan 18, 2001 at 05:20:34PM +0300, konsul at ...1169... wrote:
> Hello Everyone. I have troubles with compiling snort with mysql
> support. A have been installed  MySQL-3.22.32-1 from rpm, and it
> working excelenty, configure script
> correctly find mysql lib and headers, and enable support for it, but
> during compilation, folowing output:
...
> /usr/lib/mysql/libmysqlclient.a(my_open.o): In function `my_open':
> my_open.o(.text+0x14): undefined reference to `open64'
> /usr/lib/mysql/libmysqlclient.a(mf_format.o): In function `fn_format':
> mf_format.o(.text+0x208): undefined reference to `__lxstat64'
> /usr/lib/mysql/libmysqlclient.a(my_fopen.o): In function `my_fopen':
> my_fopen.o(.text+0x21): undefined reference to `fopen64'
> make: *** [snort] Error 1
> ------------------------
> then make stopped. ld.so.conf contain string for mysql libs. WHats is
> this ?




More information about the Snort-users mailing list