Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

Rasul Allah (sal Allahu alaihi wa sallam) said: "Restore the trusts of those who trust you, and deal not falsely with him who deals falsely with you." [Abu Dawud, Tirmidhi]

Search This Blog

Monday, October 25, 2010

ld: fatal: library -lclntsh: not found during 10.2.0.5 install

INFO: Linking /cti01/u0001/oracle/product/10.2.0/asm/precomp/lib/proc
INFO: ld: fatal: library -lclntsh: not found
INFO: ld: fatal: File processing errors. No output written to /cti01/u0001/oracle/product/10.2.0/asm/precomp/lib/proc
INFO: make: Fatal error: Command failed for target `/cti01/u0001/oracle/product/10.2.0/asm/precomp/lib/proc'


You are installing 10.2.0.5 on SunOS64bit servers and get one of the above relinking errors. To overcome this issues use the below work around as per support...

Make sure this is for 10.2.0.5

1. Backup the Oracle_Home (as directed in the Patch Set Notes)

remove the 10205 installation u just did if not start from fresh
install 10.2.0.1 Then

2. Delete these files ...
$ cd $ORACLE_HOME
$ rm lib/libncds10.a
rm network/install/ldflags.cds
rm lib/libndce10.a
rm network/install/ldflags.dce

3. Apply the 10.2.0.5 patchset

1 comment:

Salgado said...

Hey Sameer, thanks a lot for your post man, really saved me a few days ago when I was trying to install 10.2.0.5 in a Sun BOX, besides I'll definetely start posting my findings on the web as well to help others like you did.
Thanks!