[syslog-ng] couple install questions

Nick Baronian kvetch at gmail.com
Tue Jul 18 19:36:00 CEST 2006


I have a RedHat Ent.4 box I want to put syslog-ng on.  Should I remove
syslogd (sysklogd) first?  If so how do I get syslog-ng to handle the
cron (vixie) and initscripts?

How can I find out what configure options are available to me for syslog-ng?

I figured I would just try compiling syslog-ng on the machine and see
what happens with syslogd.  I built glib-2.12.0 & eventlog-0.2.4 and
then exported PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
I did a ./configure --enable-tcp-wrapper.  But during make I get this error

gcc  -g -O2 -Wall -g   -o syslog-ng  main.o libsyslog-ng.a -lnsl -lrt
-Wl,-Bstatic -lfl -L/usr/local/lib -lglib-2.0   -L/usr/local/lib
-levtlog   -Wl,-Bdynamic
libsyslog-ng.a(logmsg.o)(.text+0x6a): In function `log_stamp_format':
/root/syslog-ng-2.0rc1/src/logmsg.c:111: undefined reference to
`g_assert_warning'
libsyslog-ng.a(logmsg.o)(.text+0x2c2): In function `log_msg_ref':
/root/syslog-ng-2.0rc1/src/logmsg.c:489: undefined reference to
`g_assert_warning'
libsyslog-ng.a(logmsg.o)(.text+0x35e): In function `log_msg_unref':
/root/syslog-ng-2.0rc1/src/logmsg.c:503: undefined reference to
`g_assert_warning'
libsyslog-ng.a(logmsg.o)(.text+0xd9a): In function `log_msg_ack_block_end':
/root/syslog-ng-2.0rc1/src/logmsg.c:623: undefined reference to
`g_return_if_fail_warning'
libsyslog-ng.a(logpipe.o)(.text+0x4f): In function `log_pipe_ref':
/root/syslog-ng-2.0rc1/src/logpipe.c:38: undefined reference to
`g_assert_warning'
libsyslog-ng.a(logpipe.o)(.text+0x9b): In function `log_pipe_unref':
/root/syslog-ng-2.0rc1/src/logpipe.c:47: undefined reference to
`g_assert_warning'
libsyslog-ng.a(center.o)(.text+0x7d): In function `log_endpoint_free':
/root/syslog-ng-2.0rc1/src/center.c:90: undefined reference to
`g_assert_warning'
libsyslog-ng.a(center.o)(.text+0x175): In function `log_connection_new':
/root/syslog-ng-2.0rc1/src/center.c:132: undefined reference to
`g_assert_warning'
libsyslog-ng.a(templates.o)(.text+0x2a6): In function `log_template_ref':
/root/syslog-ng-2.0rc1/src/templates.c:169: undefined reference to
`g_assert_warning'
libsyslog-ng.a(templates.o)(.text+0x30e):/root/syslog-ng-2.0rc1/src/templates.c:180:
more undefined references to `g_assert_warning' follow
collect2: ld returned 1 exit status
make[2]: *** [syslog-ng] Error 1
make[2]: Leaving directory `/root/syslog-ng-2.0rc1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/syslog-ng-2.0rc1'
make: *** [all] Error 2

Does anyone have any ideas on what is causing this?
Thanks,
Nick Baronian


More information about the syslog-ng mailing list