[syslog-ng] smtp on FreeBSD
Peter Czanik
czanik at balabit.hu
Fri Apr 6 10:36:35 CEST 2012
On 04/03/2012 12:55 PM, Peter Czanik wrote:
> Hello,
>
> I tried to compile syslog-ng 3.4 alpha git on FreeBSD 8.1 with smtp
> support, but it does not start:
>
> fb81# /usr/local/etc/rc.d/syslog-ng start
> Starting syslog_ng.
> Error opening plugin module; module='afsmtp',
> error='/usr/local/lib/syslog-ng/libafsmtp.so: Undefined symbol
> "_smtp_message_str_cb"'
It seems to me (based on objdump), that it's not linked to libesmtp at
all. See afsql vs. afsmtp:
fb81# objdump -x libafsql.so | grep NEEDED
NEEDED libsyslog-ng-3.4.0alpha1.so
NEEDED librt.so.1
NEEDED libgmodule-2.0.so.0
NEEDED libgthread-2.0.so.0
NEEDED libglib-2.0.so.0
NEEDED libintl.so.9
NEEDED libiconv.so.3
NEEDED libevtlog.so.0
NEEDED libpcre.so.1
NEEDED libnet.so.7
NEEDED libdbi.so.1
NEEDED libcrypto.so.7
NEEDED libssl.so.7
NEEDED libthr.so.3
NEEDED libc.so.7
fb81# objdump -x libafsmtp.so | grep NEEDED
NEEDED libnet.so.7
NEEDED libthr.so.3
NEEDED libc.so.7
Bye,
--
Peter Czanik (CzP)<czanik at balabit.hu>
BalaBit IT Security / syslog-ng upstream
http://czanik.blogs.balabit.com/
More information about the syslog-ng
mailing list