adadmin: error while loading shared libraries: libclntsh.so.10.1


EBS R12.2运行adadmin报错:

$ adadmin
adadmin: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory

问题产因是在设置环境变量的时候,对.base_profile进行了如下配置:

$ more .bash_profile 
# .bash_profile
...
. /app/oracle/apps/VIS/fs1/EBSapps/appl/VIS_erptest.env
...
$ 

而在appl目录下有两个env文件,真正应该配置的是APPSVIS_erptest.env:

$ cd /app/oracle/apps/VIS/fs1/EBSapps/appl
$ ll |grep env
-rw-r--r-- 1 applvis dba  1041 Nov 27 17:43 APPSVIS_erptest.env
-rw-r--r-- 1 applvis dba 18362 Nov 27 17:43 VIS_erptest.env

 

解决方法:

修改.bash_profile文件中的.evn文件名


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM