[Dovecot] Dovecot 2.1 with custom OpenSSL fails to build

Timo Sirainen tss at iki.fi
Thu Mar 15 14:58:06 EET 2012


On Mon, 2012-03-05 at 00:32 +0000, 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.
..
> $ 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=/usr/local/Dovecot-20120303/etc/dovecot/certs && make && make install

You would have needed to run autogen.sh again. It works with me now that
I tried in a test server with OpenSSL in non-standard dir.





More information about the dovecot mailing list