ubuntu11.10在安装oracle 11g时报错如图,已试过ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.5
发布网友
发布时间:2022-05-14 15:51
我来回答
共1个回答
热心网友
时间:2023-10-23 06:27
1- ring the installation, press the "Continue" button until you reach the installer end (It should be 5 times if I've counted well). Then run the root.sh script and finish the installation
2- Once the installation done, change the content of the various makefiles :
sysman/lib/ins_emagent.mkreplace:
$(SYSMANBIN)emdctl:
$(MK_EMAGENT_NMECTL)
with:
$(SYSMANBIN)emdctl:
$(MK_EMAGENT_NMECTL) -lnnz11
rdbms/lib/env_rdbms.mkreplace:
KFED_LINKLINE=$(LINK) $(S0MAIN) $(SSKFEDED) $(SKFEDPT) \
with:
KFED_LINKLINE=$(LINK) $(S0MAIN) -Wl,--no-as-needed $(SSKFEDED) $(SKFEDPT) \
replace:
KFOD_LINKLINE=$(LINK) $(S0MAIN) $(SSKFODED) $(SKFODPT) $(KFODOBJ) \
with:
KFOD_LINKLINE=$(LINK) $(S0MAIN) -Wl,--no-as-needed $(SSKFODED) $(SKFODPT) \
replace:
KFNDG_LINKLINE=$(LINK) $(S0MAIN) $(SSKFNDGED) $(SKFNDGPT) $(KFNDGOBJ) \
with:
KFNDG_LINKLINE=$(LINK) $(S0MAIN) -Wl,--no-as-needed $(SSKFNDGED)
replace:
AMDU_LINKLINE=$(LINK) $(S0MAIN) $(SSKFMUED) $(SKFMUPT) \
with:
AMDU_LINKLINE=$(LINK) $(S0MAIN) -Wl,--no-as-needed $(SSKFMUED) $(SKFMUPT) \
replace
ORACLE_KERNEL_LIBS=$(LLIBSKGTR) $(LLIBPERFSRV) $(NAETTOBJS) $(CONFIG)\
$(SPOBJS) $(LLIBSERVER) $(LLIBODM) $(LLIBSAGE) \
with
ORACLE_KERNEL_LIBS=$(LLIBSKGTR) $(LLIBPERFSRV) $(NAETTOBJS) $(CONFIG)\
$(SPOBJS) -Wl,--no-as-needed $(LLIBSERVER) $(LLIBODM) $(LLIBSAGE) \
bin/genorasdkshreplace
$LD $LD_RUNTIME $LD_OPT $LD_OUT $LD_SELF_CONTAINED $BASE_LIB \
with
$LD $LD_RUNTIME -Wl,--no-as-needed $LD_OPT $LD_OUT $LD_SELF_CONTAINED $BASE_LIB \
srvm/lib/env_srvm.mkins_srvm.mkreplace
GETCRSHOME_LINKLINE=$(LINK) $(LDPATHFLAG)$(RDBMSLIB) $(CDEBUG) $(OPT) \
$(GETCRSHOME_OBJ1) $(OCRLIBS_DEFAULT) $(LLIBCLNTSH) \
with
GETCRSHOME_LINKLINE=$(LINK) $(LDPATHFLAG)$(RDBMSLIB) $(CDEBUG) $(OPT) \
$(GETCRSHOME_OBJ1) -Wl,--no-as-needed $(OCRLIBS_DEFAULT) $(LLIBCLNTSH) \
network/lib/env_network.mkreplace
TNSLSNR_LINKLINE=$(LINK) $(TNSLSNR_OFILES) $(LINKTTLIBS) $(LLIBONS) \
with
TNSLSNR_LINKLINE=$(LINK) $(TNSLSNR_OFILES) -Wl,--no-as-needed $(LINKTTLIBS) $(LLIBONS) \
3- Once the .mk files modified, relink the Oracle software as below; change the $ORACLE_HOME according to your configuration :
export ORACLE_HOME=/u01/app/oracle/proct/11.2.0/db_2
export PATH=$ORACLE_HOME/bin:$PATH
cd $ORACLE_HOME/bin
relink all
cd ..
grep Error install/relink.log追问出现提示后选择“Continue”,但是后来在创建数据库时又出现“ORA-12547:TNS:lost contact”这样的报错!