Snort mailing list archives

Re: OT: MySQL client compatibility?


From: "Altrock, Jens" <Jens.Altrock () STADT-NW DE>
Date: Tue, 29 Jul 2003 07:15:01 +0200



-----Ursprüngliche Nachricht-----
Message: 8
Reply-To: <gcunnin2 () bellsouth net>
From: "Gordon Cunningham" <gcunnin2 () bellsouth net>
To: <snort-users () 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 () stadt-nw de
http://www.neustadt-weinstrasse.de
###########################################
Diese Nachricht wurde von F-Secure Anti-Virus gescannt.

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



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: