<div dir="ltr">Fixed and compiled. Dear Gergely, many thanks!</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/12 Gergely Nagy <span dir="ltr">&lt;<a href="mailto:algernon@balabit.hu" target="_blank">algernon@balabit.hu</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">fblubr &lt;<a href="mailto:fblubr@gmail.com">fblubr@gmail.com</a>&gt; writes:<br>
<br>
&gt; HI, thx, indeed your suggestion worked like a charm,<br>
&gt; [export PKG_CONFIG_PATH=/apps/cactiprod/syslog-ng/glib/lib/pkgconfig]<br>
&gt; but another error shows up, configure runs fine as follows:<br>
<br>
</div>[...]<br>
<div class="im">&gt; syslog-ng Open Source Edition 3.4.2 configured<br>
&gt;   Compiler options:<br>
&gt;    compiler                    : gcc -std=gnu99<br>
&gt;    compiler options            : -I/apps/cactiprod/mariadb/include/mysql<br>
&gt; -Wall -pthread  -pthread<br>
&gt; -I/apps/cactiprod/syslog-ng/glib/include/glib-2.0<br>
&gt; -I/apps/cactiprod/syslog-ng/glib/lib/glib-2.0/include<br>
&gt; -I/apps/cactiprod/syslog-ng/eventlog/include/eventlog/<br>
&gt; -I/apps/cactiprod/syslog-ng/libdbi/include/<br>
&gt; -I$(top_srcdir)/lib/ivykis/src/include<br>
&gt; -I$(top_builddir)/lib/ivykis/src/include -D_GNU_SOURCE<br>
&gt; -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64<br>
&gt;    linker flags                : -L/apps/cactiprod/mariadb/lib<br>
<br>
</div>[...]<br>
<div class="im"><br>
&gt; but &quot;make&quot; is failing:<br>
&gt; patternize.c:(.text+0x10d8): undefined reference to `evt_tag_int&#39;<br>
&gt; ../../../lib/.libs/libsyslog-ng.so: undefined reference to<br>
&gt; `evt_rec_get_syslog_pri&#39;<br>
&gt; ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_format&#39;<br>
&gt; ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_ctx_init&#39;<br>
&gt; ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_rec_init&#39;<br>
&gt; ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_rec_add_tag&#39;<br>
&gt; ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_ctx_free&#39;<br>
&gt; ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_tag_printf&#39;<br>
&gt; ../../../lib/.libs/libsyslog-ng.so: undefined reference to `evt_rec_free&#39;<br>
&gt; ../../../lib/.libs/libsyslog-ng.so: undefined reference to<br>
&gt; `evt_rec_add_tagsv&#39;<br>
<br>
</div>This is because for some reason, it&#39;s not linking to the eventlog<br>
library. You should probably add the eventlog pkgconfig stuff to<br>
PKG_CONFIG_PATH, the same way you added glib:<br>
<br>
PKG_CONFIG_PATH=/apps/cactiprod/syslog-ng/glib/lib/pkgconfig<br>
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/apps/cactiprod/syslog-ng/eventlog/lib/pkgconfig<br>
<br>
That should help.<br>
<br>
Alternatively, append &quot;-leventlog&quot; to EVTLOG_LIBS.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
|8]<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</div></div></blockquote></div><br></div>