Snort mailing list archives

Re: Barnyard / PostgreSQL / Solaris


From: "Randal T. Rioux" <randy () procyonlabs com>
Date: Sat, 24 May 2008 21:38:59 -0400 (EDT)

Nice hack - it worked! :-)

Thanks!
Randy


On Sat, May 24, 2008 3:08 pm, Todd Wease wrote:
Try

# LD_LIBRARY_PATH=/usr/postgres/8.2/lib barnyard -c
/etc/snort/barnyard.conf -g /etc/snort/gen-msg.map -s
/etc/snort/sid-msg.map -d /var/log/snort -f snort.log -w
/etc/snort/log.waldo


Randal T. Rioux wrote:
Has anyone had a successful compilation of Barnyard with support for
PostgreSQL on Solaris 10 SPARC?

Here's what I do:

First I replace line 1543 of configure with LDFLAGS="${LDFLAGS} -lresolv
-lnsl"

Then:

# ./configure --enable-postgres
# make && make install

...configure barnyard.conf, etc etc...

# barnyard -c /etc/snort/barnyard.conf -g /etc/snort/gen-msg.map -s
/etc/snort/sid-msg.map -d /var/log/snort -f snort.log -w
/etc/snort/log.waldo
ld.so.1: barnyard: fatal: libpq.so.5: open failed: No such file or
directory
Killed
#

It compiles fine, finds all the PostgreSQL libs & such in
/usr/postgres/8.2. Any ideas? I've scoured the code to no avail. I must
be
missing something stupid.

Thanks,
Randy



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/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




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/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: