Current master-2.2 branch of Dovecot compiles for me on Gentoo x86_64 but experiences symbol errors when starting up: Jun 24 08:38:00 thunderstorm dovecot: lmtp(8180): Fatal: Couldn't load required plugin /usr/lib64/dovecot/libssl_iostream_openssl.so: dlopen() failed: /usr/lib64/dovecot/libssl_iostream_openssl.so: undefined symbol: SSL_COMP_free_compression_methods Jun 24 08:38:00 thunderstorm dovecot: master: Error: service(lmtp): command startup failed, throttling for 16 secs I suspect that this is because I have libressl installed on my systems instead of OpenSSL. A known commit point which does not work is: f5e6b05684328b9800ccd973c73027300c832d65 However a few commits earlier this problem does not occur: f292589f4b85e02d97d974dfe34324c6c0bb9d9f Looks like commit bff052bd29dbf7175ee6cd14bd14bcea1900b869 : "lib-dcrypt, lib-ssl-iostream: Share OpenSSL init/deinit code." may have broken the tree for LibreSSL/non OpenSSL users. Reuben
On 24 Jun 2016, at 01:51, Reuben Farrelly <reuben-dovecot at reub.net> wrote:> > Current master-2.2 branch of Dovecot compiles for me on Gentoo x86_64 but experiences symbol errors when starting up: > > Jun 24 08:38:00 thunderstorm dovecot: lmtp(8180): Fatal: Couldn't load required plugin /usr/lib64/dovecot/libssl_iostream_openssl.so: dlopen() failed: /usr/lib64/dovecot/libssl_iostream_openssl.so: undefined symbol: SSL_COMP_free_compression_methods > Jun 24 08:38:00 thunderstorm dovecot: master: Error: service(lmtp): command startup failed, throttling for 16 secs > > I suspect that this is because I have libressl installed on my systems instead of OpenSSL.Fixed: https://github.com/dovecot/core/commit/be2be317de8059c135bea0ec698045f0f7475d6e
On 30/06/2016 1:40 AM, Timo Sirainen wrote:> On 24 Jun 2016, at 01:51, Reuben Farrelly <reuben-dovecot at reub.net> wrote: >> Current master-2.2 branch of Dovecot compiles for me on Gentoo x86_64 but experiences symbol errors when starting up: >> >> Jun 24 08:38:00 thunderstorm dovecot: lmtp(8180): Fatal: Couldn't load required plugin /usr/lib64/dovecot/libssl_iostream_openssl.so: dlopen() failed: /usr/lib64/dovecot/libssl_iostream_openssl.so: undefined symbol: SSL_COMP_free_compression_methods >> Jun 24 08:38:00 thunderstorm dovecot: master: Error: service(lmtp): command startup failed, throttling for 16 secs >> >> I suspect that this is because I have libressl installed on my systems instead of OpenSSL. > Fixed: https://github.com/dovecot/core/commit/be2be317de8059c135bea0ec698045f0f7475d6eThanks. Better but perhaps not quite right yet - I'm now seeing lots of these messages logged: Jun 30 08:07:22 thunderstorm.reub.net dovecot: doveadm: Warning: CRYPTO_set_mem_functions() was called too late Reuben
Possibly Parallel Threads
- SSL Problem with -git master-2.2 tip (24 June 16)
- Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
- trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!
- Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
- dovecot-2.3 (-git) Warning and Fatal Compile Error