页次: 1
编译运行一些qt的开源软件需要很多东西. 目前arch只装了最基本的qt-base几个包
为了方便,想直接安装社区版的安装包, qt-opensource-linux-x64-5.9.1.run, 可以直接安装在home目录里面, 方便管理
设置了环境变量:
export QTDIR=/home/messyidea/software/QT/qt-5.9.1/5.9.1/gcc_64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib
export QT_QPA_PLATFORM_PLUGIN_PATH=$QTDIR:/plugins
export PATH=$PATH:$QTDIR/bin
这样的话基本上所有的软件都能运行了
但是目前还存在一个问题, 运行有关ssl的操作的时候, 会报错:
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 SSLv3_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 SSLv3_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: Incompatible version of OpenSSL
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
搜了一遍, 没找到啥有效信息
好像链接的openssl有问题, 只能够手工从源码编译?
不知道是不是我的环境变量有问题.
有人遇到过这个问题吗?
最近编辑记录 messyidea (2017-09-05 15:40:17)
离线
Incompatible version of OpenSSL
看来是 openssl 太新了。
离线
Incompatible version of OpenSSL
看来是 openssl 太新了。
arch 包管理器的qt也是同样的版本. 可能编译的参数和官方的不太一样.
我还是从包管理器安装好了. 谢谢~
离线
页次: 1