error while loading shared libraries: libc.so.6 while patching

Problem:

After unsetting LD_ASSUME_KERNEL, began applying patch 5903765. The following errors appeared:

Removing $FND_TOP/$APPLBIN from PATH …
uname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
tr: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

Solution:

Apply patch 6365595: 11IEBS CERT ON OEL5|RH5|SLES10:UNSET LD_ASSUME_KERNEL IN ADGETLNXVER.SH.

This patch fixes all references to the LD_ASSUME_KERNEL environment variable.

Full error listing:

Removing $FND_TOP/$APPLBIN from PATH …
uname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
tr: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
tr: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
tr: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Done removing $FND_TOP/$APPLBIN from PATH

/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1273: awk: No such file or directory
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1332: sed: No such file or directory
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1332: tr: No such file or directory
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1332: sed: No such file or directory
Removing extra variables from the environment (again)…
adrelink will save the following variables (if set):
– Generic:
“”
– Shell-Specific: “PS1 PS2 PS3 PS4 IFS MAILCHECK _ LOGNAME A__z”
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1349: awk: No such file or directory
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1350: awk: No such file or directory
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1350: wc: No such file or directory
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1350: awk: No such file or directory
Beginning pass 1.
Processing  environment variables…
0 removed; 0 saved.
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1379: expr: No such file or directory
Done removing extra environment variables (again).

Re-reading critical environment variables …
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1397: rm: No such file or directory
Done re-reading critical environment variables

/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1409: grep: No such file or directory
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1410: grep: No such file or directory
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1684: which: No such file or directory
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1684: grep: No such file or directory
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1684: file: No such file or directory
/u01/test3/test3appl/ad/11.5.0/bin/adrelinknew.sh: line 1914: awk: No such file or directory

[amazon asin=0070077290&template=iframe image&chan=default]     [amazon asin=1453742735&template=iframe image&chan=default]     [amazon asin=0615238440&template=iframe image&chan=default]

  1. By unsetting the LD_ASSUME_KERNEL would help.
    Or you can comment out the line where you are setting the LD_ASSUME_KERNEL in your .bashrc

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


This site uses Akismet to reduce spam. Learn how your comment data is processed.