当前位置: 技术问答>linux和unix
在Linux下安装oracle9i报错:ins_precomp.mk
来源: 互联网 发布时间:2016-03-27
本文导语: 在Red Hat Enterprise Linux 4下安装Oracle 9i(9.2.0.4) 在运行到64%的时候出错(Install successful完成,运行Linking Oracle9i Database 9.2.0.4.0): Error invoking target relink of make file /home/oracle/product/9.2.0.8/precomp/lib/ins_precomp.m...
在Red Hat Enterprise Linux 4下安装Oracle 9i(9.2.0.4)
在运行到64%的时候出错(Install successful完成,运行Linking Oracle9i Database 9.2.0.4.0):
Error invoking target relink of make file /home/oracle/product/9.2.0.8/precomp/lib/ins_precomp.mk
试过网上的很多方法,例如gcc降级:
#su - root
#mv /usr/bin/gcc /usr/bin/gcc34
#ln -s /usr/bin/gcc32 /usr/bin/gcc
#mv /usr/bin/g++ /usr/bin/g++34
#ln -s /usr/bin/g++32 /usr/bin/g++
gcc降级后错误依然存在。
又接着试了以下方法:
编辑 $ORACLE_HOME/bin/genclntst 把
LD_SELE_CONTAINED="-z defs"
改成:
LD_SELF_CONTAINED=""
然后运行脚本:$ORACLE_HOME/bin/genclntsh:
[oracle@cshost ~]$ $ORACLE_HOME/bin/genclntsh /home/oracle/product/9.2.0.8/rdbms/lib/kpudfo.o: file not recognized: File format not recognized collect2: ld returned 1 exit status cat: /tmp/clntst9.18662/*.nm: No such file or directory sort: open failed: /tmp/clntst9.18662/*.objs: No such file or directory Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file... ar -M [
在运行到64%的时候出错(Install successful完成,运行Linking Oracle9i Database 9.2.0.4.0):
Error invoking target relink of make file /home/oracle/product/9.2.0.8/precomp/lib/ins_precomp.mk
试过网上的很多方法,例如gcc降级:
#su - root
#mv /usr/bin/gcc /usr/bin/gcc34
#ln -s /usr/bin/gcc32 /usr/bin/gcc
#mv /usr/bin/g++ /usr/bin/g++34
#ln -s /usr/bin/g++32 /usr/bin/g++
gcc降级后错误依然存在。
又接着试了以下方法:
编辑 $ORACLE_HOME/bin/genclntst 把
LD_SELE_CONTAINED="-z defs"
改成:
LD_SELF_CONTAINED=""
然后运行脚本:$ORACLE_HOME/bin/genclntsh:
[oracle@cshost ~]$ $ORACLE_HOME/bin/genclntsh /home/oracle/product/9.2.0.8/rdbms/lib/kpudfo.o: file not recognized: File format not recognized collect2: ld returned 1 exit status cat: /tmp/clntst9.18662/*.nm: No such file or directory sort: open failed: /tmp/clntst9.18662/*.objs: No such file or directory Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file... ar -M [