由于数据库的ORACLE_HOME发生了变化,需要对ORACLE_HOME进行relink操作,结果发现relink时报错。
错误信息摘录如下:
[orat0@hpserver2 db_1]$ relink utilities - Linking Import utility (imp) rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/imp gcc -o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/imp -L/t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/stubs/ /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/s0impdrv.o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/defopt.o -ldbtools10 -lclntsh `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lm `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib mv -f /t0/orat0/app/oracle/product/10.2.0/db_1/bin/imp /t0/orat0/app/oracle/product/10.2.0/db_1/bin/impO mv /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/imp /t0/orat0/app/oracle/product/10.2.0/db_1/bin/imp chmod 751 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/imp . . . mv -f /t0/orat0/app/oracle/product/10.2.0/db_1/bin/dgmgrl /t0/orat0/app/oracle/product/10.2.0/db_1/bin/dgmgrlO mv /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/dgmgrl /t0/orat0/app/oracle/product/10.2.0/db_1/bin/dgmgrl chmod 751 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/dgmgrl - Linking tg4pwd utility rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/tg4pwd gcc -o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/tg4pwd -L/t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/stubs/ /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/tg4pwd.o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/defopt.o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/homts.o -lagtsh -lpls10 -lplp10 -lpthread -lclntsh -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 /t0/orat0/app/oracle/product/10.2.0/db_1/lib/libgeneric10.a `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lm `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lvsn10 mv -f /t0/orat0/app/oracle/product/10.2.0/db_1/bin/tg4pwd /t0/orat0/app/oracle/product/10.2.0/db_1/bin/tg4pwdO mv /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/tg4pwd /t0/orat0/app/oracle/product/10.2.0/db_1/bin/tg4pwd chmod 751 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/tg4pwd mkdir -p /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin cp -f /t0/orat0/app/oracle/product/10.2.0/db_1/lib/libsqlplus.so \ /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib/libsqlplus.so /bin/chmod 755 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/helpins /bin/chmod 755 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/pupbld Linking /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus gcc -o /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus -L/t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/stubs/ /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib/s0afimai.o -lsqlplus -lclntsh `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lm -lpthread `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm -lpthread -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib /bin/chmod 755 /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/bin/sqlplus mv -f /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus /t0/orat0/app/oracle/product/10.2.0/db_1/bin/sqlplus /bin/chmod 751 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/sqlplus rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib/libsqlplus.so rm -rf /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus make -f /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib/ins_sqlplus.mk newsqlplus LIBDIR=lib32 LDFLAGS='-m32 -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)stubs/' HYBRID_SUFFIX=32 make[1]: Entering directory `/t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib' Linking /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus32 rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus32 gcc -m32 -o /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus32 -L/t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib32/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib32/stubs/ /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib32/s0afimai.o -lsqlplus -lclntsh `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/sysliblist` -Wl,-rpath,/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lm -lpthread `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/sysliblist` -ldl -lm -lpthread -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib cat: /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ldflags: No such file or directory cat: /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ldflags: No such file or directory cat: /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ldflags: No such file or directory cat: /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ldflags: No such file or directory /t0/orat0/app/oracle/product/10.2.0/db_1/lib32//libclntsh.so: undefined reference to `ntusini' /t0/orat0/app/oracle/product/10.2.0/db_1/lib32//libclntsh.so: undefined reference to `nnfhboot' /t0/orat0/app/oracle/product/10.2.0/db_1/lib32//libclntsh.so: undefined reference TO `nnflboot' /t0/orat0/app/oracle/product/10.2.0/db_1/lib32//libclntsh.so: undefined reference to `nttini' /t0/orat0/app/oracle/product/10.2.0/db_1/lib32//libclntsh.so: undefined reference to `nnftboot' /t0/orat0/app/oracle/product/10.2.0/db_1/lib32//libclntsh.so: undefined reference TO `nnflgapc' /t0/orat0/app/oracle/product/10.2.0/db_1/lib32//libclntsh.so: undefined reference to `nnflrne' /t0/orat0/app/oracle/product/10.2.0/db_1/lib32//libclntsh.so: undefined reference to `nttsdpini' /t0/orat0/app/oracle/product/10.2.0/db_1/lib32//libclntsh.so: undefined reference TO `ntpini' /t0/orat0/app/oracle/product/10.2.0/db_1/lib32//libclntsh.so: undefined reference to `nnflfrm' /t0/orat0/app/oracle/product/10.2.0/db_1/lib32//libclntsh.so: undefined reference to `nnflgav' /t0/orat0/app/oracle/product/10.2.0/db_1/lib32//libclntsh.so: undefined reference TO `ntzini' collect2: ld returned 1 exit status make[1]: *** [/t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus32] Error 1 make[1]: Leaving directory `/t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib' make: *** [newsqlplus32] Error 2 chmod 755 /t0/orat0/app/oracle/product/10.2.0/db_1/bin |
检查后发现lib32目录下的ldflags是个链接,而这个链接指向了迁移之前的ORACLE_HOME/lib下的对象:
[orat0@hpserver2 lib32]$ ls -l ldflags lrwxrwxrwx 1 orat0 oinstall 47 DEC 6 14:43 ldflags -> /u01/app/oracle/product/10.2.0/db_1/lib/ldflags |
删除ldflgs标识并重建:
[orat0@hpserver2 lib32]$ rm ldflags [orat0@hpserver2 lib32]$ ln -s $ORACLE_HOME/lib/ldflags $ORACLE_HOME/lib32/ldflags [orat0@hpserver2 lib32]$ ls -l ldflags lrwxrwxrwx 1 orat0 oinstall 52 Mar 19 17:21 ldflags -> /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags |
再次link,问题解决:
[orat0@hpserver2 lib32]$ relink utilities - Linking Import utility (imp) rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/imp gcc -o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/imp -L/t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/stubs/ /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/s0impdrv.o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/defopt.o -ldbtools10 -lclntsh `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lm `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib mv -f /t0/orat0/app/oracle/product/10.2.0/db_1/bin/imp /t0/orat0/app/oracle/product/10.2.0/db_1/bin/impO mv /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/imp /t0/orat0/app/oracle/product/10.2.0/db_1/bin/imp chmod 751 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/imp - Linking Export utility (EXP) rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/EXP gcc -o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/EXP -L/t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/stubs/ /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/s0exudrv.o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/defopt.o -ldbtools10 -lclntsh `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lm `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib mv -f /t0/orat0/app/oracle/product/10.2.0/db_1/bin/EXP /t0/orat0/app/oracle/product/10.2.0/db_1/bin/expO mv /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/EXP /t0/orat0/app/oracle/product/10.2.0/db_1/bin/EXP chmod 751 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/EXP . . . mv -f /t0/orat0/app/oracle/product/10.2.0/db_1/bin/dgmgrl /t0/orat0/app/oracle/product/10.2.0/db_1/bin/dgmgrlO mv /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/dgmgrl /t0/orat0/app/oracle/product/10.2.0/db_1/bin/dgmgrl chmod 751 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/dgmgrl - Linking tg4pwd utility rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/tg4pwd gcc -o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/tg4pwd -L/t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/stubs/ /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/tg4pwd.o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/defopt.o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/homts.o -lagtsh -lpls10 -lplp10 -lpthread -lclntsh -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 /t0/orat0/app/oracle/product/10.2.0/db_1/lib/libgeneric10.a `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lm `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lvsn10 mv -f /t0/orat0/app/oracle/product/10.2.0/db_1/bin/tg4pwd /t0/orat0/app/oracle/product/10.2.0/db_1/bin/tg4pwdO mv /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/tg4pwd /t0/orat0/app/oracle/product/10.2.0/db_1/bin/tg4pwd chmod 751 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/tg4pwd mkdir -p /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin cp -f /t0/orat0/app/oracle/product/10.2.0/db_1/lib/libsqlplus.so \ /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib/libsqlplus.so /bin/chmod 755 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/helpins /bin/chmod 755 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/pupbld Linking /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus gcc -o /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus -L/t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/stubs/ /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib/s0afimai.o -lsqlplus -lclntsh `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lm -lpthread `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm -lpthread -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib /bin/chmod 755 /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/bin/sqlplus mv -f /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus /t0/orat0/app/oracle/product/10.2.0/db_1/bin/sqlplus /bin/chmod 751 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/sqlplus rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib/libsqlplus.so rm -rf /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus make -f /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib/ins_sqlplus.mk newsqlplus LIBDIR=lib32 LDFLAGS='-m32 -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)stubs/' HYBRID_SUFFIX=32 make[1]: Entering directory `/t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib' Linking /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus32 rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus32 gcc -m32 -o /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus32 -L/t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib32/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib32/stubs/ /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib32/s0afimai.o -lsqlplus -lclntsh `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/sysliblist` -Wl,-rpath,/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lm -lpthread `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib32/sysliblist` -ldl -lm -lpthread -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib /bin/chmod 755 /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus32 rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/bin/sqlplus32 mv -f /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus32 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/sqlplus32 /bin/chmod 751 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/sqlplus32 rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib32/libsqlplus.so rm -rf /t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/bin/sqlplus32 make[1]: Leaving directory `/t0/orat0/app/oracle/product/10.2.0/db_1/sqlplus/lib' chmod 755 /t0/orat0/app/oracle/product/10.2.0/db_1/bin rm -f wrap Linking wrap gcc -o wrap -L/t0/orat0/app/oracle/product/10.2.0/db_1/plsql/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/stubs/ /t0/orat0/app/oracle/product/10.2.0/db_1/plsql/lib/s0plsw.o -lpsa10 -lpls10 -lplp10 -lclntsh `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm /t0/orat0/app/oracle/product/10.2.0/db_1/lib/libplc10.a -lpls10 -lclient10 -lnl10 -lnro10 -ln10 /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/kpudfo.o -lmm -lgeneric10 -lcommon10 -lslax10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lsql10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lm `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib mv -f /t0/orat0/app/oracle/product/10.2.0/db_1/bin/wrap /t0/orat0/app/oracle/product/10.2.0/db_1/bin/wrapO mv /t0/orat0/app/oracle/product/10.2.0/db_1/plsql/lib/wrap /t0/orat0/app/oracle/product/10.2.0/db_1/bin/wrap chmod 751 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/wrap chmod 755 /t0/orat0/app/oracle/product/10.2.0/db_1/bin rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman nid extjob extjobo genezi ikfod grdcscan /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/ksms.s /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/ksms.o - Linking DB*Verify utility (dbv) rm -f /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/dbv gcc -o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/dbv -L/t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/ -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib/stubs/ /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/s0kudbv.o /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/defopt.o -ldbtools10 -lsnls10 -lunls10 -lnls10 -lclntsh `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/t0/orat0/app/oracle/product/10.2.0/db_1/lib -lm `cat /t0/orat0/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm -L/t0/orat0/app/oracle/product/10.2.0/db_1/lib mv -f /t0/orat0/app/oracle/product/10.2.0/db_1/bin/dbv /t0/orat0/app/oracle/product/10.2.0/db_1/bin/dbvO mv /t0/orat0/app/oracle/product/10.2.0/db_1/rdbms/lib/dbv /t0/orat0/app/oracle/product/10.2.0/db_1/bin/dbv chmod 751 /t0/orat0/app/oracle/product/10.2.0/db_1/bin/dbv . . . |
因此,ORACLE_HOME整体迁移后,还应该修改ORACLE_HOME中的链接才能确保迁移后可以正常工作。