Ok thanks, I did it but there is another problem &quot;Error opening plugin module; module=&#39;afsql&#39;, error=&#39;/usr/local/syslog-ng/lib/syslog-ng/libafsql.so: undefined symbol: dbi_result_free&#39; but syslog-ng is running<div>
<br></div><div>I installed it using this:</div><div>./configure --prefix=/usr/local/syslog-ng \</div><div>&gt; EVTLOG_CFLAGS=&quot;-I/usr/local/eventlog/include/eventlog&quot; \</div><div>&gt; EVTLOG_LIBS=&quot;-L/usr/local/eventlog/lib -levtlog&quot; \</div>
<div>&gt; GLIB_CFLAGS=&quot;-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include&quot; \</div><div>&gt; GLIB_LIBS=&quot;-L/usr/lib -lglib-2.0 -lintl&quot; \</div><div>&gt; LIBDBI_CFLAGS=&quot;-I/usr/include/dbi&quot; \</div>
<div>&gt; LIBDBI_LIBS=&quot;-L/usr/lib&quot; \</div><div>&gt; --enable-sql \</div><div>&gt; --enable-mixed-linking</div><div><br></div>