[ 1]: Error occurred during initialization of VM
[ 2]: Unable to load native library: libnsl.so.1: cannot open shared object file: No such file or directory
请选择设置时区 [Error occurred during initialization of VM
Unable to load native library: libnsl.so.1: cannot open shared object file: No such file or directory]:libnsl.so.1

解决方案: 下载安装库libnsl.so.1

下载地址(以Centos8为例) libnsl-2.28-127.el8.i686.rpm CentOS 8 Download (pkgs.o

 地址已失效,新的地址在https://pkgs.org/download/libnsl 里面

 wget http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/libnsl-2.28-127.el8.i686.rpm
dnf install libnsl

安装完后,删除tmp里面的单大文件。

 

posted on 2021-05-12 18:34  余昭(Ray)  阅读(5629)  评论(2编辑  收藏  举报