On 07/13/2012 04:38 PM, Eray Aslan wrote:
I'll try to find out more but I will be on vacation for a few days so it might not be quick.
Recap:
When linked with gold, pigeonhole-0.3.1 make check fails with:
dovecot-2.1-pigeonhole-0.3.1/src/testsuite/.libs/lt-testsuite:
symbol lookup error:
dovecot-2.1-pigeonhole-0.3.1/src/lib-sieve/.libs/libdovecot-sieve.so.0:
undefined symbol: mail_deliver_get_log_var_expand_table
Well, /usr/lib64/dovecot/libdovecot-lda.so provides the
mail_deliver_get_log_var_expand_table symbol, but
/usr/lib64/dovecot/libdovecot-sieve.so doesn't link against it. The
following patch works for me:
--- src/lib-sieve/Makefile.am 2012-05-11 03:38:47.000000000 +0300
+++ src/lib-sieve/Makefile.am 2012-07-30 17:38:15.878643313 +0300
@@ -70,8 +70,8 @@
$(extdir)/vnd.dovecot/duplicate/libsieve_ext_duplicate.la \
$(unfinished_plugins)
-libdovecot_sieve_la_DEPENDENCIES = $(plugins)
-libdovecot_sieve_la_LIBADD = $(plugins)
+libdovecot_sieve_la_DEPENDENCIES = $(plugins) $(LIBDOVECOT_LDA_DEPS)
+libdovecot_sieve_la_LIBADD = $(plugins) $(LIBDOVECOT_LDA)
libdovecot_sieve_la_SOURCES = \
rfc2822.c \
--
Eray Aslan