[syslog-ng] [libsyslog_ng_la-afinter.lo] Error 1, syslog-ng-3.4.1 on x86_64
Flur Blubr
fblubr at gmail.com
Wed Jun 12 10:51:43 CEST 2013
Fixed and compiled. Dear Gergely, many thanks!
2013/6/12 Gergely Nagy <algernon at balabit.hu>
> fblubr <fblubr at gmail.com> writes:
>
> > HI, thx, indeed your suggestion worked like a charm,
> > [export PKG_CONFIG_PATH=/apps/cactiprod/syslog-ng/glib/lib/pkgconfig]
> > but another error shows up, configure runs fine as follows:
>
> [...]
> > syslog-ng Open Source Edition 3.4.2 configured
> > Compiler options:
> > compiler : gcc -std=gnu99
> > compiler options : -I/apps/cactiprod/mariadb/include/mysql
> > -Wall -pthread -pthread
> > -I/apps/cactiprod/syslog-ng/glib/include/glib-2.0
> > -I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include
> > -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/
> > -I/apps/cactiprod/syslog-ng/libdbi/include/
> > -I$(top_srcdir)/lib/ivykis/src/include
> > -I$(top_builddir)/lib/ivykis/src/include -D_GNU_SOURCE
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > linker flags : -L/apps/cactiprod/mariadb/lib
>
> [...]
>
> > but "make" is failing:
> > patternize.c:(.text+0x10d8): undefined reference to `evt_tag_int'
> > ../../../lib/.libs/libsyslog-ng.so: undefined reference to
> > `evt_rec_get_syslog_pri'
> > ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_format'
> > ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_ctx_init'
> > ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_rec_init'
> > ../../../lib/.libs/libsyslog-ng.so: undefined reference to
> `evt_rec_add_tag'
> > ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_ctx_free'
> > ../../../lib/.libs/libsyslog-ng.so: undefined reference to
> `evt_tag_printf'
> > ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_rec_free'
> > ../../../lib/.libs/libsyslog-ng.so: undefined reference to
> > `evt_rec_add_tagsv'
>
> This is because for some reason, it's not linking to the eventlog
> library. You should probably add the eventlog pkgconfig stuff to
> PKG_CONFIG_PATH, the same way you added glib:
>
> PKG_CONFIG_PATH=/apps/cactiprod/syslog-ng/glib/lib/pkgconfig
>
> PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/apps/cactiprod/syslog-ng/eventlog/lib/pkgconfig
>
> That should help.
>
> Alternatively, append "-leventlog" to EVTLOG_LIBS.
>
> --
> |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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20130612/4bec4f6d/attachment.htm
More information about the syslog-ng
mailing list