在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)
$(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)
$(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
原文链接:https://www.f2er.com/oracle/208526.html