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

Popular posts from this blog

Steps to run Autoconfig for patch File system 12.2

ADOP fs_clone failing with ERROR: Managed Server's are not in sync between file system context and DB context

Change the WebLogic password in EBS 12.2