Snort mailing list archives

RE: Problem installing Snort 2.3.3


From: "M. Shirk" <shirkdog_list () hotmail com>
Date: Wed, 04 May 2005 10:35:39 -0400

Libraries..Libraries..Libraries.

If you installed MySQL from source, the path is usually /usr/local/mysql/lib/mysql

Verify where the MySQL libs are then run configure with the changes.

Shirkdog
http://www.shirkdog.us



From: Wayne Ho <wenghon828 () yahoo com>
To: snort-users () lists sourceforge net
Subject: [Snort-users] Problem installing Snort 2.3.3
Date: Tue, 3 May 2005 17:18:10 -0700 (PDT)

I ran ./configure
--with-mysql-libraries=/usr/local/lib
--with-mysql-includes=/usr/local/include and
everything is fine.
When I ran make, it gives me these error...
(I am not MySQL guru, I need your insight)

output-plugins/libspo.a(spo_database.o)(.text+0x2471):
In function `Connect':
/opt/snort-2.3.3/src/output-plugins/spo_database.c:2446:
undefined reference to `mysql_init'
output-plugins/libspo.a(spo_database.o)(.text+0x24b7):/opt/snort-2.3.3/src/output-plugins/spo_database.c:2459:
undefined reference to `mysql_real_connect'
output-plugins/libspo.a(spo_database.o)(.text+0x24c5):/opt/snort-2.3.3/src/output-plugins/spo_database.c:2461:
undefined reference to `mysql_errno'
output-plugins/libspo.a(spo_database.o)(.text+0x24ee):/opt/snort-2.3.3/src/output-plugins/spo_database.c:2463:
undefined reference to `mysql_error'
output-plugins/libspo.a(spo_database.o)(.text+0x2568):
In function `Disconnect':
/opt/snort-2.3.3/src/output-plugins/spo_database.c:2682:
undefined reference to `mysql_close'
collect2: ld returned 1 exit status
make[3]: *** [snort] Error 1
make[3]: Leaving directory `/opt/snort-2.3.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/snort-2.3.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/snort-2.3.3'
make: *** [all] Error 2

Any clue?
Many thanks.

Wayne

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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: