while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or d

查看运行文件(我这里使用的是iscsMonitor运行脚本文件)

while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or d

查看$ORACLE_HOME路径,打开路径文件添加路径。

while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or d

更新,直接使用ldconfig不行可以使用/sbin/ldconfig

while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or d

再次查看,有了路径,并且可以运行

while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or d