That was it! (it's been too long since I did any c/C++ development) I will pass along that I needed to specify the full path on the RHEL box. That is: This worked on Ubuntu make LDFLAGS="-L../redis-stable/deps/hiredis" but RHEL didn't like the relative path so I needed to be explicit Now I can start playing again :-) I have been working on things like parsing -line logs that are interleaved, using an external parsing program to build the related log lines into a structure then writing to mongodb (specifically email logs where an external connection may carry many messages, and you see interleaved syslog coming from several mail gateways) I also have started playing with ELK (elasticsearsh, logstash, kibana) and I think there is some interesting stuff using redis as the frontend for elasticsearch (maybe not needing logstash) I think these modules for syslog-ng will be very useful. Thanks again!! Jim ---- Gergely Nagy <algernon@balabit.hu> wrote:
<jrhendri@roadrunner.com> writes:
OK - on the ubuntu box I ran a "make distclean" then re-ran the configure and ran: make V=1 > make.out 2>make.err
It looks like you need to pass LDFLAGS="-L/usr/lib/hiredis" (or LDFLAGS="-L$(pwd)/redis-stable/deps/hiredis", if you don't want to symlink it) to configure in order for make to find the library later.
Using --with-libhiredisdir=$(pwd)/redis-stable/deps/hiredis would also work, if you had the hiredis.h header in an "include" subdirectory there, and libhiredis.a in a "lib" subdir.
-- |8] ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq