[syslog-ng] compiling problems --enable-mongodb --enable-json --enable-redis

Gergely Nagy algernon at balabit.hu
Tue Jul 22 16:56:55 CEST 2014


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


More information about the syslog-ng mailing list