Skip to content

Instantly share code, notes, and snippets.

@patocarr
Created February 3, 2019 22:18
Show Gist options
  • Save patocarr/68aa4cc64a447d39ad1c3b4ffb060df4 to your computer and use it in GitHub Desktop.
Save patocarr/68aa4cc64a447d39ad1c3b4ffb060df4 to your computer and use it in GitHub Desktop.
Xilinx Docnav fix for SIGSEGV in Fedora 28,29
Docnav reported:
ERROR: Socket server not listening. QLocalServer::listen: Address in use
Restart of the local socket server was successful.
QSslSocket: cannot resolve CRYPTO_num_locks
QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback
QSslSocket: cannot resolve sk_free
QSslSocket: cannot resolve sk_num
QSslSocket: cannot resolve sk_pop_free
QSslSocket: cannot resolve sk_value
QSslSocket: cannot resolve SSL_library_init
QSslSocket: cannot resolve SSL_load_error_strings
QSslSocket: cannot resolve SSLv2_client_method
QSslSocket: cannot resolve SSLv23_client_method
QSslSocket: cannot resolve SSLv2_server_method
QSslSocket: cannot resolve SSLv23_server_method
QSslSocket: cannot resolve X509_STORE_CTX_get_chain
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
QSslSocket: cannot resolve SSLeay
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function sk_num
Segmentation fault (core dumped)
Creating these soft-links to Fedora's Qt libraries fixes the issue:
ln -vsf --backup=simple --suffix=orig -t /opt/Xilinx/DocNav /usr/lib64/libQtXml.so.4
ln -vsf --backup=simple --suffix=orig -t /opt/Xilinx/DocNav /usr/lib64/libQtNetwork.so.4
ln -vsf --backup=simple --suffix=orig -t /opt/Xilinx/DocNav /usr/lib64/libQtCore.so.4
ln -vsf --backup=simple --suffix=orig -t /opt/Xilinx/DocNav /usr/lib64/libQtGui.so.4
ln -vsf --backup=simple --suffix=orig -t /opt/Xilinx/DocNav /usr/lib64/libQtWebKit.so.4
ln -vsf --backup=simple --suffix=orig -t /opt/Xilinx/DocNav /usr/lib64/libQtSvg.so.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment