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