telnet: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
时间: 2023-09-24 09:05:22 浏览: 306
error while loading shared libraries xx.so处理方法
telnet命令在加载共享库libncurses.so.5时出现了错误,提示找不到该共享对象文件。解决这个问题的方法是通过创建一个链接来使用libncurses.so.5替代libncurses.so.6。这样可以实现向下兼容并解决错误。具体步骤如下:
1. 进入/usr/lib64目录:
```
cd /usr/lib64/
```
2. 创建一个链接,将libncurses.so.5替换为libncurses.so.6:
```
ln -s libncurses.so.5 libncurses.so.6
```
通过以上操作,telnet命令应该能够正常加载libncurses.so.5库文件,从而解决报错问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [telnet: error while loading shared libraries: libtinfo.so.6: cannot open shared object file](https://blog.csdn.net/qq_42328950/article/details/119354047)[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: 50%"]
- *2* *3* [linux(Centos7)使用telnet命令报错:telnet: error while loading shared libraries: libncurses.so.6](https://blog.csdn.net/li1325169021/article/details/118581269)[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: 50%"]
[ .reference_list ]
阅读全文