Re: [Dovecot] Dovecot 2.1 with custom OpenSSL fails to build

2012-04-14 Thread Andreas M. Kirchwitz
Timo Sirainen wrote: >> But two libraries are not quite okay. They don't find their SSL libs: >> >> libdovecot-lda.so >> libdovecot-storage.so > > Maybe this fixes it? > > http://hg.dovecot.org/dovecot-2.1/rev/8b91367bc3e1 Works perfectly! Great, now all components find their li

Re: [Dovecot] Dovecot 2.1 with custom OpenSSL fails to build

2012-04-03 Thread Timo Sirainen
On 03/15/2012 11:43 PM, Andreas M. Kirchwitz wrote: Compilation works. Great! The binaries find all their libraries. But two libraries are not quite okay. They don't find their SSL libs: libdovecot-lda.so libdovecot-storage.so Since libdovecot-lda.so doesn't contain the words l

Re: [Dovecot] Dovecot 2.1 with custom OpenSSL fails to build

2012-03-15 Thread Andreas M. Kirchwitz
Timo Sirainen wrote: >> $ patch -p1 -s < ../dovecot-20120303-e540404debb7.patch >> $ env SSL_CFLAGS="-I/usr/local/ssl/include" SSL_LIBS="-L/usr/local/ssl/lib >> -Wl,-R/usr/local/ssl/lib -lcrypto -lssl" ./configure >> --prefix=/usr/local/Dovecot-20120303 --with-ssl=openssl >> --with-ssldir

Re: [Dovecot] Dovecot 2.1 with custom OpenSSL fails to build

2012-03-15 Thread Timo Sirainen
On Mon, 2012-03-05 at 00:32 +, Andreas M. Kirchwitz wrote: > Thanks for this patch. I've applied it to the dovecot-20120303 > nightly snapshot. The good news is, compilation works fine. > The bad news is, the libraries and binaries don't work because > they don't find the custom SSL libraries.

Re: [Dovecot] Dovecot 2.1 with custom OpenSSL fails to build

2012-03-04 Thread Andreas M. Kirchwitz
Hello Timo! Timo Sirainen wrote: > The SSL libraries shouldn't be linked when imapc isn't built. Also it > probably wouldn't have built with you if you used configure > --without-shared-libs. I did a bit large change that hopefully fixes > everything: > http://hg.dovecot.org/dovecot-2.1/

Re: [Dovecot] Dovecot 2.1 with custom OpenSSL fails to build

2012-03-04 Thread Timo Sirainen
On 29.2.2012, at 3.03, Andreas M. Kirchwitz wrote: > Timo Sirainen wrote: > >>> There seems to be a new dependency in some modules (eg, lib-storage, >>> libdovecot-lda, libdovecot-ssl) on OpenSSL. In Dovecot 2.0, those >>> modules didn't require OpenSSL, but 2.1 does. >>> >>> For the linking pr

Re: [Dovecot] Dovecot 2.1 with custom OpenSSL fails to build

2012-02-28 Thread Andreas M. Kirchwitz
Timo Sirainen wrote: >> There seems to be a new dependency in some modules (eg, lib-storage, >> libdovecot-lda, libdovecot-ssl) on OpenSSL. In Dovecot 2.0, those >> modules didn't require OpenSSL, but 2.1 does. >> >> For the linking process the path to the OpenSSL library isn't >> specifie

Re: [Dovecot] Dovecot 2.1 with custom OpenSSL fails to build

2012-02-27 Thread Timo Sirainen
On Fri, 2012-02-24 at 02:22 +0100, Andreas M. Kirchwitz wrote: > There seems to be a new dependency in some modules (eg, lib-storage, > libdovecot-lda, libdovecot-ssl) on OpenSSL. In Dovecot 2.0, those > modules didn't require OpenSSL, but 2.1 does. > > For the linking process the path to the Ope