[Snort-users] Barnyard / PostgreSQL / Solaris

Randal T. Rioux randy at ...13561...
Sat May 24 21:38:59 EDT 2008


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 at 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 at 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
>






More information about the Snort-users mailing list