openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
时间: 2023-10-15 10:24:32 浏览: 245
openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory 是指在启动openssl时出现了找不到共享库文件libssl.so.1.1的错误。这个错误可能会在不同的操作系统和版本中出现,比如Ubuntu 22.04。
解决这个问题的方法是通过创建软链接来解决。具体步骤如下:
1. 打开终端,切换到/usr/lib64/目录下:cd /usr/lib64/
2. 使用以下命令创建软链接:ln -s libcrypto.so.1.0.0 libcrypto.so.10
3. 运行openssl命令,检查问题是否解决。
通过创建软链接,将libcrypto.so.1.0.0链接到libcrypto.so.10,可以解决找不到共享库文件的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [openssl: error while loading shared libraries: libssl.so.1.1](https://blog.csdn.net/yujuan110/article/details/80941120)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Ubuntu 22.04 源码安装 openssl 1.1 error while loading shared libraries: libssl.so.1.1: cannot open ...](https://blog.csdn.net/qq_43666528/article/details/127041263)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [openssl-1.0.2j-el6.1.x86_64.rpm安装包](https://download.csdn.net/download/wengjixi/9678787)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文