[Snort-users] Re: OT: MySQL client compatibility?

Altrock, Jens Jens.Altrock at ...9749...
Mon Jul 28 22:16:02 EDT 2003


-----Ursprüngliche Nachricht-----
Message: 8
Reply-To: <gcunnin2 at ...163...>
From: "Gordon Cunningham" <gcunnin2 at ...163...>
To: <snort-users at lists.sourceforge.net>
Date: Mon, 28 Jul 2003 12:54:58 -0400
Subject: [Snort-users] OT: MySQL client compatibility?

This is a bit off-topic, but relevant to those of us upgrading snort and
barnyard systems.

Are the MySQL 4.x clients backward compatible with MySQL 3.x server?

I'm not getting any db reporting/inserting after building a test snort
sniffer with the MySQL 4.0.14 client, with a central 3.x server which is
front-ended by ACID.  Anyone else seeing problems like this?  A search of
the MySQL mailing list archives doesn't mention anything along these lines.
I really don't want to upgrade my central server at the moment...


- Gordon

"The software said it requires Windows 98 or better, so I installed
Linux..."
--__--__--

Yes, got the same (or similar problem)...
I am using Suse Linux 8.2 with Lampp v1.1 (from
http://www.apachefriends.org)
MySQL is included, I took the Lampp Development Kit though for the mysql
sources to built snort. Using the following command works fine:
configure --with-mysql=/opt/lampp 
Lampp is installed in that directory, MySQL libraries too in subdir /lib

When using the make command though I get a couple of errors listed below:

/opt/lampp/lib/libmysqlclient.a(my_malloc.o)(.text+0x28): In function
`my_malloc': 
: undefined reference to `errno' 
/opt/lampp/lib/libmysqlclient.a(my_malloc.o)(.text+0xd8): In function
`my_memdup': 
: undefined reference to `errno' 
/opt/lampp/lib/libmysqlclient.a(my_malloc.o)(.text+0x1be): In function
`my_strdup': 
: undefined reference to `errno' 
/opt/lampp/lib/libmysqlclient.a(my_realloc.o)(.text+0x65): In function
`my_realloc': 
: undefined reference to `errno' 
/opt/lampp/lib/libmysqlclient.a(my_lib.o)(.text+0x2d8): In function
`my_dir': 
: undefined reference to `errno' 
/opt/lampp/lib/libmysqlclient.a(my_lib.o)(.text+0x3e1): more undefined
references to `errno' follow 
collect2: ld returned 1 exit status 

If I use the libraries of the actual MySQL release I can build snort, but
database connection does not work :((


Regards,


Jens Altrock
Stadtverwaltung Neustadt an der Weinstraße
Organisation und EDV
Marktplatz 1
67433 Neustadt an der Weinstraße

Mailto:Jens.Altrock at ...9747...
http://www.neustadt-weinstrasse.de
###########################################
Diese Nachricht wurde von F-Secure Anti-Virus gescannt.

This message has been scanned by F-Secure Anti-Virus.





More information about the Snort-users mailing list