加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

在Oracle 11.2.0.4中运行orion报错error while loading shared l

发布时间:2020-12-12 14:43:04 所属栏目:百科 来源:网络整理
导读:在Oracle 11.2.0.4中运行orion报错 grid@rac1 ~]$ cd cd $ORACLE_HOME/bin/-bash: cd: cd: No such file or directory[grid@rac1 ~]$ cd $ORACLE_HOME/bin/[grid@rac1 bin]$ ./orion -run oltp -testname /home/grid/xxxtest./orion: error while loading sh

在Oracle 11.2.0.4中运行orion报错

grid@rac1 ~]$ cd cd $ORACLE_HOME/bin/
-bash: cd: cd: No such file or directory
[grid@rac1 ~]$ cd $ORACLE_HOME/bin/
[grid@rac1 bin]$ ./orion  -run oltp -testname  /home/grid/xxxtest
./orion: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory
[grid@rac1 bin]$ pwd
/u01/app/11.2.0/grid/bin
[grid@rac1 bin]$ 

参考文档:
cannot open shared object file 'libclntsh.so.11.1' while running orion in 11.2.0.4 (Doc ID 1678690.1)

SOLUTION

edit the $ORACLE_HOME/rdbms/lib/env_rdbms.mk lines from

ORION_LINKLINE=$(LINK) $(OPT) $(ORIONMAI) $(LLIBORION)
$(LLIBGENERIC) $(LLIBCORE) $(LLIBCLNTSH)
$(LLIBSAGE) $(LLIBSKGXP)
$(LLIBNLSRTL) $(PL_AIOLIB) $(LLIBCOMMON) $(SUIDLINKLDLIBS)

to

ORION_LINKLINE=$(LINK) $(OPT) $(ORIONMAI) $(LLIBORION)
$(LLIBGENERIC) $(LLIBCORE) $(LLIBCLNTSH)
$(LLIBSAGE) $(LLIBSKGXP)
$(LLIBNLSRTL) $(PL_AIOLIB) $(LLIBCOMMON) $(LINKLDLIBS)

i.e. changing SUIDLINKLDLIBS by LINKLDLIBS

Then relink the orion utility via

cd $ORACLE_HOME/rdbms/lib

make -f ins_rdbms.mk iorion

or install fix from bug:16528055

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读