首页 > IT职业 > IT生活 > error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or di
今天用户拿了一个REDHAT9环境下的oracle9的数据文件要求取出其中的数据。因为原服务器主板损坏,只能重新搭建redhat9的环境,然后将整个oracle目录拷贝过去。
时下找一台能安装redhat9操作系统的机器还真不容易,最后还是通过虚拟机解决。安装完操作系统、配置好一些参数,Oracle目录拷贝过去后就尝试启动数据库。错误就出来了
Enter user-name: /as sysdba
SID: error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or directory
ERROR:
ORA-12547: TNS:lost contact
几经baidugoogle终于解决。
方法:打开/etc/ld.so.conf 增加一下内容/opt/ora9/product/9.2/lib ,然后运行ldconfig。
[@more@]来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/570433/viewspace-1049935/ ,如需转载,请注明出处,否则将追究法律责任。