Adrelink is exiting with status 1: for MSC Product
Issue:
adrelink is exiting with status 1: In 11i/R12 & RHEL 5.4 while patching
Fix:
STEP1: cd $AD_TOP/bin
STEP2: Take backup of the existing adrelinknew.sh
cp -rp adrelinknew.sh adrelinknew.sh_orig
STEP3: Edit the adrelinknew.sh
vi adrelinknew.sh
Change CPP_LDFLAGS as below
From:
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'
To:
#CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'
:wq! --> save & exit
Issue:
adrelink is exiting with status 1: In 11i/R12 & RHEL 5.4 while patching
Fix:
STEP1: cd $AD_TOP/bin
STEP2: Take backup of the existing adrelinknew.sh
cp -rp adrelinknew.sh adrelinknew.sh_orig
STEP3: Edit the adrelinknew.sh
vi adrelinknew.sh
Change CPP_LDFLAGS as below
From:
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'
To:
#CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'
:wq! --> save & exit
Thanks it worked, but what is the cause of this problem?
ReplyDelete