Adrelink fails with ld cannot find lclntsh
1.Patch application was failing with the below error in Non
production instance
/usr/bin/ld:
cannot find -lclntsh
2.We observed that the issue was due to libclntsh soft link
which was incorrect, As you can see below the soft link was pointing to the
PROD
3. Run the
script $ORACLE_HOME/bin/genclntsh
which will fix the soft link issue
[appstest@test001]$
sh genclntsh
[appstest@test001]$
[appstest@test001]$
pwd
/ebs/oracle/TEST/apps/tech_st/10.1.2/bin
4.Check the soft link of libclntsh
again which will be corrected by the script we have run in 3rd
script as seen in below screenshot.
5.Run the relink again which will be successfully now
Comments
Post a Comment