HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Installing syslog-ng 2.x on CentOS (http://www.howtoforge.com/forums/showthread.php?t=11753)

random.guy 29th March 2007 15:28

Installing syslog-ng 2.x on CentOS
 
I am trying to install the latest version of the Syslog-ng 2.x branch on my new CentOS 4.4 system (server build), but I am having some major issues. It is throwing several compilation errors, to the point where it is just getting too frustrating to deal with this.

Before I start pasting the logs, I figured I would see if anyone has even gotten this to work. I can't find any evidence of anyone else doing this successfully (been searching for a few days now). I have compiled so syslog-ng so many times on other platforms, but I was hoping to get this to work on CentOS. Your input would be appreciated :)

falko 30th March 2007 15:18

I haven't tried this on CentOS. But maybe I can help you if you post the exact error messages here?

random.guy 30th March 2007 16:04

Thanks for the response Falko! ./configure runs fine without any errors, so the next thing I did was the 'make' command, and this is where it starts generating errors.

Code:

libsyslog-ng.a(misc.o)(.text+0x3a9): In function `resolve_hostname':
/root/syslog-ng-2.0.3/src/misc.c:191: undefined reference to `g_assert_warning'
libsyslog-ng.a(logmsg.o)(.text+0x6a): In function `log_stamp_format':
/root/syslog-ng-2.0.3/src/logmsg.c:110: undefined reference to `g_assert_warning'
libsyslog-ng.a(logmsg.o)(.text+0x2b6): In function `log_msg_ref':
/root/syslog-ng-2.0.3/src/logmsg.c:498: undefined reference to `g_assert_warning'
libsyslog-ng.a(logmsg.o)(.text+0x342): In function `log_msg_unref':
/root/syslog-ng-2.0.3/src/logmsg.c:512: undefined reference to `g_assert_warning'
libsyslog-ng.a(logmsg.o)(.text+0xe2a): In function `log_msg_ack_block_end':
/root/syslog-ng-2.0.3/src/logmsg.c:648: undefined reference to `g_return_if_fail_warning'
libsyslog-ng.a(logpipe.o)(.text+0x4f): In function `log_pipe_ref':
/root/syslog-ng-2.0.3/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.0.3/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.0.3/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.0.3/src/center.c:132: undefined reference to `g_assert_warning'
libsyslog-ng.a(templates.o)(.text+0x2de): In function `log_template_ref':
/root/syslog-ng-2.0.3/src/templates.c:180: undefined reference to `g_assert_warning'
libsyslog-ng.a(templates.o)(.text+0x346):/root/syslog-ng-2.0.3/src/templates.c:191: 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.0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/syslog-ng-2.0.3'
make: *** [all] Error 2


falko 31st March 2007 14:23

I've found this link: https://lists.balabit.hu/pipermail/s...er/009621.html

As RHEL is related to CentOS very closely, maybe this works for CentOS as well.

random.guy 2nd April 2007 16:17

Quote:

Originally Posted by falko
I've found this link: https://lists.balabit.hu/pipermail/s...er/009621.html

As RHEL is related to CentOS very closely, maybe this works for CentOS as well.

Looks like the latest version of syslog-ng requires glibc 2.4, and judging by this thread, I am not going to get this to work on CentOS 4.4 at all :(

I guess I will have to try to run an older version.

edit: just tried 1.9 with eventlog 2.4, and I get the same error. I am wondering if CentOS is even a good choice for a syslog server.


All times are GMT +2. The time now is 13:00.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.