On Sat, Aug 26, 2017 at 09:31:01AM -0300, Lisandro Damián Nicanor Pérez Meyer 
wrote:
> First of all sorry for the top posting. Actually this is not a bug in qt4,
> OpenSSL 1.0 Is getting removed and qt4 *needs* to switch to 1.1.

That's clear.

> I uploaded
> to experimental for people to check, so actually this should be an
> important bug against qgis. If necessary I'll explain more with a more
> comfortable mail client at hand.

The problem as reported by Dan and reproduced by me is:

$ qgis
Warning: QSslSocket: cannot resolve CRYPTO_num_locks
Warning: QSslSocket: cannot resolve CRYPTO_set_id_callback
Warning: QSslSocket: cannot resolve CRYPTO_set_locking_callback
Warning: QSslSocket: cannot resolve sk_free
Warning: QSslSocket: cannot resolve sk_num
Warning: QSslSocket: cannot resolve sk_pop_free
Warning: QSslSocket: cannot resolve sk_value
Warning: QSslSocket: cannot resolve SSL_library_init
Warning: QSslSocket: cannot resolve SSL_load_error_strings
Warning: QSslSocket: cannot resolve X509_get_notAfter
Warning: QSslSocket: cannot resolve X509_get_notBefore
Warning: QSslSocket: cannot resolve SSLv2_client_method
Warning: QSslSocket: cannot resolve SSLv23_client_method
Warning: QSslSocket: cannot resolve SSLv2_server_method
Warning: QSslSocket: cannot resolve SSLv23_server_method
Warning: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
Warning: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
Warning: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
Warning: QSslSocket: cannot resolve SSLeay
Warning: QSslSocket: cannot call unresolved function SSL_library_init
Warning: QSslSocket: cannot call unresolved function SSLv23_client_method
Warning: QSslSocket: cannot call unresolved function sk_num
Warning: QSslSocket: cannot call unresolved function X509_get_notBefore
Warning: QSslSocket: cannot call unresolved function X509_get_notAfter
Segmentation fault


To me this looks like qt4 built with OpenSSL 1.1 trying to use functions 
that were removed in OpenSSL 1.1, example:

  /usr/include/openssl/ssl.h:#define SSLv23_client_method    TLS_client_method


In OpenSSL 1.0.2 this was a proper function, but qt4 trying to load this 
from libssl.so.1.1 cannot work.


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Reply via email to