[Dovecot] Dovecot and loading OpenSSL libraries

Timo Sirainen tss at iki.fi
Mon Nov 29 23:23:04 EET 2010

On Mon, 2010-11-29 at 13:26 -0500, Paul Griffith wrote:

> Here is a snippet of the SSL cflags and libs.
> SSL_CFLAGS = -I/xsys/include
> SSL_LIBS = -L/xsys/lib -lssl -lcrypto -ldl

Try adding -R/xsys/lib to SSL_LIBS.

> ssl-params: Error: dovecot/ssl-params: error while loading shared 
> libraries: libssl.so.0.9.8: cannot open shared object file: No such file 
> or directory
> It seems that Dovecot can't find the SSL libraries, even if I set the 
> LD_LIBRARY_PATH environment variable. I always assume that the Dynamic 
> Loaded (dl) library would pickup LD_LIBRARY_PATH.

Dovecot clears all environment when executing child processes.

More information about the dovecot mailing list