$ sqlplus / as sysdba
报错如下:
sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
(1)设置环境变量 LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/u01/app/oracle/product/11.2/db_1/lib
(2)把 libclntsh.so.11.1 删了,再用其他位置的文件替换
rm -f /u01/app/oracle/product/11.2/db_1/lib/libclntsh.so.11.1
find /u01 -name libclntsh.so.11.1
cp /u01/app/oracle/product/11.2/db_1/inventory/backup/2023-03-20_01-06-08AM/Scripts/ext/lib/libclntsh.so.11.1 /u01/app/oracle/product/11.2/db_1/lib/libclntsh.so.11.1
标签:loading,lib,app,so.11,libclntsh,11.2,libraries,while,u01 From: https://www.cnblogs.com/l10n/p/17235946.html