Thanks for the replies guys they have been very helpful!
On Wed, Mar 9, 2011 at 9:04 AM, Gergely Nagy <algernon@balabit.hu> wrote:Eshan Bhide <ebhide@globalgossip.net> writes:^^^^^^^^^^^^^^^
>
> So far so good, but when I try to run syslog-ng it gives me an error:
>
> syslog-ng
> Error opening plugin module; module='afsql', error='/usr/local/lib/syslog-
> ng/libafsql.so: undefined symbol: dbi_result_free'
> Error opening plugin module; module='afsql', error='/usr/local/lib/syslog-
> ng/libafsql.so: undefined symbol: dbi_result_free'
The problem lies here: while the module has been compiled, the DBI
version is probably not fresh enough. I'd suggest compiling libdbi from
CVS.
Perhaps not necessarily from CVS, but do make sure you also compiled the dbi-drivers.
I suspect there might be problems with the afsql not linking/loading libdbi (or it's mysql driver from dbi-drivers)
I'm a low level debugger, so running strace on syslog-ng and posting that would be interesting to confirm/deny my hypothesis.
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html
------------------------------------------------- IMPORTANT NOTICE : The information in this email is confidential and may also be privileged. If you are not the intended recipient, any use or dissemination of the information and any disclosure or copying of this email is unauthorised and strictly prohibited. If you have received this email in error, please promptly inform us by reply email or telephone. You should also delete this email and destroy any hard copies produced.