RE: [Snort-users] Problem compiling snort + mysql

This is a discussion on RE: [Snort-users] Problem compiling snort + mysql within the Snort forums, part of the System Security and Security Related category; My syslog events are not being forwarded to a remote device. Snort starts to build then it stops. Any ideas? -----...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-04-2004
Baxter, Anthony
 
Posts: n/a
Default RE: [Snort-users] Problem compiling snort + mysql

My syslog events are not being forwarded to a remote device. Snort
starts to build then it stops. Any ideas?

-----Original Message-----
From: snort-users-admin@lists.sourceforge.net
[mailto:snort-users-admin@lists.sourceforge.net] On Behalf Of
ml@nodeonline.com
Sent: Thursday, November 04, 2004 10:46 AM
To: snort-users@lists.sourceforge.net
Subject: [Snort-users] Problem compiling snort + mysql


Hi,

os: Mandrake 10
snort: snort-2.2.0
mysql: mysql-4.1.7

I did search the archive but none of the answers I've found helped to
fix my problem.

I want to compile snort --with-mysql

my mysql 4.1.7 sources are in /root/mysql-4.1.7 and mysql is installed
in /usr/local/mysql

I did ./configure --with-mysql=3D/root/mysql-4.1.7=20

I do see that configure finds mysql libraries:

checking for mysql... yes

Upon compiling I get the following error message:

/usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0xbc): In function
`my_compress_alloc':
: undefined reference to `compress'
/usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x13a): In function
`my_uncompress':
: undefined reference to `uncompress'hints
collect2: ld returned 1 exit status
make[3]: *** [snort] Error 1
make[3]: Leaving directory `/root/snort-2.2.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/snort-2.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/snort-2.2.0'
make: *** [all] Error 2


I added LDFLAGS =3D "-lz" before running configure but no luck. Still =
same
error message.

I've figured maybe maybe something in the source is not right so I've
installed mysql libraries from the RPM package. Same outcome when
compiling.

Any pointers and tips are appreciated.




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld
Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id=12065&op=3Dick
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=3Dort-users


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=snort-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:44 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0