<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">The error was:
</div></div></blockquote></div>"Error opening plugin module; module='afsql', error='/usr/local/syslog-ng-test/lib/syslog-ng/libafsql.so: undefined symbol: dbi_result_free'<div><br></div><div>#ldd /usr/local/syslog-ng-test/lib/syslog-ng/libafsql.so </div>
<div><br></div><div><div> linux-gate.so.1 => (0xb7749000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://libsyslog-ng-3.3.1.so">libsyslog-ng-3.3.1.so</a> => /usr/local/syslog-ng-test/lib/<a href="http://libsyslog-ng-3.3.1.so">libsyslog-ng-3.3.1.so</a> (0xb76d1000)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7686000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7532000)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7519000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb73be000)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>/lib/ld-linux.so.2 (0xb774a000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb73ba000)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>libz.so.1 => /usr/lib/libz.so.1 (0xb73a5000)</div></div><div><br></div><div>I installed libdbi-0.8.4 and libdbi-drivers-0.8.3-1</div><div>Syslog-ng version 3.3.1</div>
<div><br></div><div><span lang="EN-GB" style="font-size:10pt;font-family:'Courier New'">#<span style="font:7.0pt "Times New Roman"">
</span></span><span lang="EN-GB" style="font-size:10pt;font-family:'Courier New'">./configure
--prefix=/usr/local/syslog-ng-test \</span></div><div><span style="font-family:'Courier New';font-size:10pt">>
EVTLOG_CFLAGS="-I/usr/local/eventlog/include/eventlog" \</span></div><div><span style="font-family:'Courier New';font-size:10pt">> EVTLOG_LIBS="-L/usr/local/eventlog/lib
-levtlog" \</span></div><div><span style="font-family:'Courier New';font-size:10pt">> GLIB_CFLAGS="-I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include" \</span></div><div><span style="font-family:'Courier New';font-size:10pt">> GLIB_LIBS="-L/usr/lib -lglib-2.0
-lintl" \</span></div><div><span style="font-family:'Courier New';font-size:10pt">> LIBDBI_CFLAGS="-I/usr/include/dbi" \</span></div><div><span style="font-family:'Courier New';font-size:10pt">> LIBDBI_LIBS="-L/usr/lib" \</span></div>
<div><span style="font-family:'Courier New';font-size:10pt">> --enable-sql \</span></div><div><span style="font-family:'Courier New';font-size:10pt">> --enable-mixed-linking</span></div><div><span lang="EN-GB" style="font-size:10pt;font-family:'Courier New'">#<span style="font:7.0pt "Times New Roman"">
</span></span><span lang="EN-GB" style="font-size:10pt;font-family:'Courier New'">make && make install</span></div>