[Dovecot] Pigeonhole 3.3 broken against Dovecot 2.1.10

Daniel L. Miller dmiller at amfes.com
Thu Nov 1 06:16:11 EET 2012


 

On 31.10.2012 04:26, Timo Sirainen wrote: 

> On 30.10.2012, at
17.00, Daniel L. Miller wrote:
> 
>> I'm compiling as I normally do. The
config line for Dovecot is: configure --with-ldap --with-ssl
--with-bzlib --with-zlib --with-stemmer --with-lucene --with-ldap
followed by make & make install Then a 'configure' for Pigeonhole,
followed by make, yields: libtool: link: gcc -std=gnu99 -g -O2 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime
-Wstrict-aliasing=2 -o .libs/sieve-dump sieve-dump.o
-Wl,--export-dynamic ../../src/lib-sieve/.libs/libdovecot-sieve.so
../../src/lib-sieve-tool/.libs/libsieve-tool.a
/usr/local/lib/dovecot/libdovecot-storage.so
/usr/local/lib/dovecot/libdovecot-lda.so -L/usr/local/lib/dovecot
/usr/local/lib/dovecot/libdovecot.so -lrt -Wl,-rpath
-Wl,/usr/local/lib/dovecot libtool: link: gcc -std=gnu99 -g -O2 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime
-Wstrict-aliasing=2 -o .libs/sievec sievec.o -Wl,--export-dynamic
../../src/lib-sieve/.libs/libdovecot-sieve.so
../../src/lib-sieve-tool/.libs/libsieve-tool.a
/usr/local/lib/dovecot/libdovecot-storage.so
/usr/local/lib/dovecot/libdovecot-lda.so -L/usr/local/lib/dovecot
/usr/local/lib/dovecot/libdovecot.so -lrt -Wl,-rpath
-Wl,/usr/local/lib/dovecot /usr/local/lib/dovecot/libdovecot-storage.so:
undefined reference to `sk_new_null at OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
`SSL_get_error at OPENSSL_1.0.0'
> 
> I think this is a Dovecot bug, fixed
by: http://hg.dovecot.org/dovecot-2.1/rev/7d931927e4ac [1]
> 
> You
could also do this by adding -lssl -lcrypto manually to the installed
dovecot-config and running configure again for pigeonhole.

I see "-lssl
-lcrypto" already in the DOVECOT_SSL_LIBS section of
/usr/local/lib/dovecot/dovecot-config. What should be changed? 

--

Daniel
 

Links:
------
[1]
http://hg.dovecot.org/dovecot-2.1/rev/7d931927e4ac



More information about the dovecot mailing list