LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Unigine benchmark complaining about qt.network.ssl errors (https://www.linuxquestions.org/questions/slackware-14/unigine-benchmark-complaining-about-qt-network-ssl-errors-4175630139/)

coralfang 05-21-2018 06:27 AM

Unigine benchmark complaining about qt.network.ssl errors
 
Hi, i'm trying to run Unigine's "Superposition" benchmark from here: https://benchmark.unigine.com/superposition on Slackware -current.

I remember this working fine a few months back, but now i am getting this error message, and the program terminates before the interface even loads up:

Code:

$ ./Superposition
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
qt.network.ssl: QSslSocket: cannot resolve sk_new_null
qt.network.ssl: QSslSocket: cannot resolve sk_push
qt.network.ssl: QSslSocket: cannot resolve sk_free
qt.network.ssl: QSslSocket: cannot resolve sk_num
qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve sk_value
qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
qt.network.ssl: QSslSocket: cannot resolve SSL_get_ex_new_index
qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
qt.network.ssl: QSslSocket: cannot resolve SSLeay
qt.network.ssl: QSslSocket: cannot resolve SSLeay_version
qt.network.ssl: QSslSocket: cannot call unresolved function CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function sk_num

I assume it's something related to the recent library changes with openssl? How can i get this to run? I'm not sure what version of openssl it's looking for, so i am not sure what symlinks to make, if any.

Alien Bob 05-21-2018 06:36 AM

Did you install the new packages in slackware-current called "openssl10" and "openssl10-solibs"? They contain the openssl 1.0.x libraries that should get rid of your errors.

coralfang 05-21-2018 07:01 AM

Quote:

Originally Posted by Alien Bob (Post 5857406)
Did you install the new packages in slackware-current called "openssl10" and "openssl10-solibs"? They contain the openssl 1.0.x libraries that should get rid of your errors.

Yes, they are already present on my system:
Code:

$ slackpkg search openssl

Looking for openssl in package list. Please wait... DONE

The list below shows all packages with name matching "openssl".

[ Status          ] [ Repository              ] [ Package                                  ]
  installed              multilib                    openssl-compat32-1.1.0h-x86_64-1compat32 
  installed              multilib                    openssl-solibs-compat32-1.1.0h-x86_64-1compat32 
  installed              multilib                    openssl10-solibs-compat32-1.0.2o-x86_64-1compat32 
  installed              slackware64                  openssl-1.1.0h-x86_64-2                 
  installed              slackware64                  openssl-solibs-1.1.0h-x86_64-2           
  installed              slackware64                  openssl10-1.0.2o-x86_64-1               
  installed              slackware64                  openssl10-solibs-1.0.2o-x86_64-1         
  uninstalled              alienbob                    pyopenssl-0.11-x86_64-1alien             

You can search specific files using "slackpkg file-search file".


ponce 05-21-2018 07:51 AM

this Superposition software use an internal set of qt5 libraries bundled with it and they are linked to the old openssl libraries.

you can tell it to use the old ones using the LD_LIBRARY_PATH environment variable, like
Code:

cd Unigine_Superposition-1.0
export LD_LIBRARY_PATH=/usr/lib64/openssl-1.0:$LD_LIBRARY_PATH
./Superposition


coralfang 05-21-2018 08:19 AM

Quote:

Originally Posted by ponce (Post 5857438)
this Superposition software use an internal set of qt5 libraries bundled with it and they are linked to the old openssl libraries.

you can tell it to use the old ones using the LD_LIBRARY_PATH environment variable, like
Code:

cd Unigine_Superposition-1.0
export LD_LIBRARY_PATH=/usr/lib64/openssl-1.0:$LD_LIBRARY_PATH
./Superposition


That did the job, many thanks.


All times are GMT -5. The time now is 08:20 PM.