Dovecot installation problem (libssl_iostream_openssl.so is not portable!)
Hi there,
i finally solved the problem.
On my server i always used openssl compiled from source with the following configuration options:
./config --prefix=/test/dep/openssl --openssldir=/test/dep/openssl no-deprecated no-ssl
The error when i try to compile dovecot tell about undefined references:
/usr/bin/ld: ./.libs/libssl_iostream_openssl.so: undefined reference to `OBJ_cleanup'
/usr/bin/ld: ./.libs/libssl_iostream_openssl.so: undefined reference to `SSL_CTX_need_tmp_RSA'
/usr/bin/ld: ./.libs/libssl_iostream_openssl.so: undefined reference to `SSL_load_error_strings'
/usr/bin/ld: ./.libs/libssl_iostream_openssl.so: undefined reference to `ENGINE_cleanup'
/usr/bin/ld: ./.libs/libssl_iostream_openssl.so: undefined reference to `ERR_free_strings'
/usr/bin/ld: ./.libs/libssl_iostream_openssl.so: undefined reference to `EVP_cleanup'
/usr/bin/ld: ./.libs/libssl_iostream_openssl.so: undefined reference to `SSL_library_init'
/usr/bin/ld: ./.libs/libssl_iostream_openssl.so: undefined reference to `CRYPTO_cleanup_all_ex_data'
/usr/bin/ld: ./.libs/libssl_iostream_openssl.so: undefined reference to `SSL_CTX_set_tmp_rsa_callback'
/usr/bin/ld: ./.libs/libssl_iostream_openssl.so: undefined reference to `OpenSSL_add_all_algorithms'
for example "OBJ_cleanup". So i check these functions on the openssl documentation an saw the notice about "deprecated function since OpenSSL 1.1.0"
Therefore i recompiled openssl with the following configuration options:
./config --prefix=/test/dep/openssl --openssldir=/test/dep/openssl --api=1.0.0
After that the compilation of dovecot was successful. It seems that dovecot still uses now deprecated functions from openssl befor version 1.1.0
Can anyone tell me when dovecot doesn't need this deprecated functions anymore?
Thanks!
participants (1)
-
Dimitri