部署oracle19c,执行./runInstaller,无论调用图形界面还是试用静默安装,都是报错,提示:
/soft/oracle/app/oracle/product/19.3.0/db_1/perl/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory。
该问题实际原因是缺失库文件导致
报错信息:
[oracle@DATABASE db_1]$ ./runInstaller
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
/soft/oracle/app/oracle/product/19.3.0/db_1/perl/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
解决方案
安装库包libnsl,命令为yum install libnsl
安装该库包后重新执行 ./runInstaller ,原来的报错“/soft/oracle/app/oracle/product/19.3.0/db_1/perl/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory”消失。