[System Installation] deepin20如何解决找不到libssl.so.10问题
Tofloor
poster avatar
xiao_辉++
deepin
2023-07-25 23:14
Author

我的程序在其他系统上是可以的,但在deepin上运行提示:

error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

按照网上关于ubuntu缺失这个文件的教材重新编译安装openssl不好使,请问一下有没有对应deepin下的教程。弄了一天了,求解

目前参考的教材有以下,都没成功,有的是deepin上下载对应1.0.0没有:

https://zhuanlan.zhihu.com/p/410412408?utm_id=0

https://askubuntu.com/questions/339364/libssl-so-10-cannot-open-shared-object-file-no-such-file-or-directory

Reply Favorite View the author
All Replies
redmibook
deepin
2023-07-25 23:21
#1

像这种问题,一般都是应用程序里把依赖写死了,libssl 现在版本都高于 1.0 了,改成 >= 1.0,而不是 =1.0,重新编译一下。

Reply View the author
xiao_辉++
deepin
2023-07-26 00:02
#2
redmibook

像这种问题,一般都是应用程序里把依赖写死了,libssl 现在版本都高于 1.0 了,改成 >= 1.0,而不是 =1.0,重新编译一下。

现在想回到原来deepin默认的openssl版本,sudo apt install openssl现在不好使,之前remove了,现在输入openssl日志错误:

apptrace@lxh:~$ openssl
openssl: relocation error: openssl: symbol EVP_PKEY_CTX_new_pkey_id version OPENSSL_1_1_1d not defined in file libcrypto.so.1.1 with link time reference
Reply View the author
Feng Yu
deepin
2023-07-26 00:31
#3

自己做个兼容处理吧,可以同时兼容openssl 1.0和1.1版本就解决了

Reply View the author
Ziggy
deepin
2023-07-26 02:20
#4

一般是你在高版本库环境上进行编译而并未把相关库打包进去引用,可以采取重新编译或者打包对应的库进去

Reply View the author
xiao_辉++
deepin
2023-07-26 17:00
#5
Ziggy

一般是你在高版本库环境上进行编译而并未把相关库打包进去引用,可以采取重新编译或者打包对应的库进去

嗯嗯确实,那个包不是在deepin系统上编译的

Reply View the author