[syslog-ng] syslog-ng 3.2.1 compile error

Lutz Mutz lutzz123 at gmail.com
Tue Jan 11 03:25:41 CET 2011


Hey everyone,

I'm trying to compile syslog-ng 3.2.1 on CentOS 5.3 which is running glib
2.12.3-4, and get this error:

./.libs/libdbparser.so: undefined reference to `g_timeout_add_seconds'
collect2: ld returned 1 exit status
make[5]: *** [pdbtool] Error 1
make[5]: Leaving directory `/usr/local/src/syslog-ng-3.2.1/modules/dbparser'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/src/syslog-ng-3.2.1/modules/dbparser'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/syslog-ng-3.2.1/modules/dbparser'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/syslog-ng-3.2.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/syslog-ng-3.2.1'
make: *** [all] Error 2


As I understand g_timeout_add_seconds was added to glib 2.14, which CentOS
doesn't support yet. Now my question is, there was a big filed a while ago
about this, does balabit plan on implementing the old api for glib to
support 3.2.1 for glib < 2.14 ? Knowing the fact that CentOS is such a
popular and wide distribution, why not make it easy for us and patch it?
Is my other choice to just compile it statically on a system running glib >=
2.14 and then install the binary on the CentOS system?

Thanks,
Lutz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20110110/e3a06d2d/attachment.htm 


More information about the syslog-ng mailing list