[syslog-ng] syslog-ng 3.3.5 and openssl
Alexander Komyagin
komyagin at altell.ru
Fri Apr 27 10:02:52 CEST 2012
Hi! I noticed that when I'm compiling syslog-ng 3.3.5 with openssl
enabled (at least in my environment), libsyslog-ng-crypto.so somehow is
not linked with libssl (checked with ldd), thus resulting with
unresolved symbols error on syslog-ng startup for afsocket module.
Attached patch fixes the issue.
--- syslog-ng-3.3.5.orig/lib/Makefile.am 2012-03-31 22:23:43.000000000
+0400
+++ syslog-ng-3.3.5/lib/Makefile.am 2012-04-26 17:32:58.000000000 +0400
@@ -12,7 +12,7 @@
libsyslog_ng_la_LDFLAGS = -no-undefined -release @VERSION@
module_LTLIBRARIES = libsyslog-ng-crypto.la
-libsyslog_ng_crypto_la_LIBADD = @CORE_DEPS_LIBS@ libsyslog-ng.la
+libsyslog_ng_crypto_la_LIBADD = @CORE_DEPS_LIBS@ @OPENSSL_LIBS@
libsyslog-ng.la
libsyslog_ng_crypto_la_LDFLAGS = -no-undefined -avoid-version
# this is intentionally formatted so conflicts are less likely to
arise. one name in every line.
--
Best wishes,
Alexander Komyagin
More information about the syslog-ng
mailing list