./nebula:|./nebula: error while loading shared libraries: libreadline.so.6
问题描述
操作系统为centos8
运行命令报错
./nebula: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
推测可能是系统版本为centos8,相应的库版本不对应,尝试通过添加软链解决
解决方案
- 于/usr/lib64下添加软链
sudo ln -s libreadline.so.7.0 libreadline.so.6
【./nebula:|./nebula: error while loading shared libraries: libreadline.so.6】再次运行时报错变为
./nebula: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
- 再次添加相应软链
sudo ln -s libncurses.so.6 libncurses.so.5
再次运行时报错变为
./nebula: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
- 根据报错信息判断后再次添加软链
sudo ln -s libtinfo.so libtinfo.so.5
再次运行时发现可正常运行
推荐阅读
- gitlab|gitlab 通过备份还原 admin/runner 500 Internal Server Error
- 解决SyntaxError:|解决SyntaxError: invalid syntax
- 由Uncaught|由Uncaught TypeError: this.player.startMoveAt is not a function引申
- 打开Anaconda|打开Anaconda Navigator 时报错 error 5 拒绝访问
- mac升级之(xcrun:|mac升级之:xcrun: error: invalid active developer path, missing xcrun)
- Python|Python TypeError: 'module' object is not callable 原因分析
- 关于|关于 java.lang.NoClassDefFoundError: com.umeng.analytics.d的问题
- Shell脚本中的while和for循环
- Java|Java 面试题
- App|App Store connect Operation Error