Problem
Where can I obtain a set of statically linked utilities that will run when my libc.so.1 file is missing or becomes corrupted? Also, where can I obtain a replacement copy of libc.so.1 for my system release?
Solution
Obtain Technical Library Supplement (TLS) TLS704, Statically
linked utilities and versions of libc.so.1 for OpenServer 5.
You can download this TLS from the TLS directory on SCO Support's
ftp site at:https://ftp.scoexpert.com/TLSTLS704 - Statically linked utilities and versions of libc.so.1 for OpenServer 5
Contents:TLS704 contains a small set of crucial shell utilities that are statically linked and function independently of /usr/lib/libc.so.1. In the event that the libc.so.1 becomes corrupted or lost, these utilities can aid in the restoration of the file, provided that a copy of libc.so.1 exists on the system. Note that OpenServer 5.0.5 already has these utilities installed in /sbin and are identical to those supplied by this TLS.
This TLS also includes the versions of the libc.so.1 file supplied with each OpenServer 5 release (5.0.0, 5.0.2, 5.0.4, 5.0.5), along with the replaced versions of this file supplied with each of the following SLSs:
RS505A (on OpenServer 5.0.5)
OSS600A (on OpenServer 5.0.5 + RS505A)
OSS601A (on OpenServer 5.0.2 or 5.0.4)
OSS603A (on OpenServer 5.0.0)Installation Instructions:To install TLS704, place the tls704.tar.Z file in the /tmp directory. Log in as root and take these steps:
# cd /tmp
# uncompress tls704.tar.Z
# tar xvf tls704.tarThe statically linked utilities will be located in /tmp/tls704/sbin/ and the various lib.so.1 files will be in /tmp/tls704/libc_backup/, organized by the release version of the operating system or SLS. Move the newly created files from /tmp, to a safe location on your root filesystem for future use. Suggested locations for the libc.so.1 files are /usr/local/libc_backup or /libc_backup, and /sbin for the statically linked utilities.
NOTES: After moving or copying the files, it is critical that they have
the correct permissions associated with them or they may not
function. Make sure the utilities have these permissions set:-rwx--x--x 1 bin bin cp
-rwx--x--x 1 bin bin ln
-rwx--x--x 1 bin bin mv
-rwxr-xr-t 1 bin bin sh
-rwx--x--x 1 bin bin sync
-rwx--x--x 1 bin bin uadminAlso make sure that the libc.so.1 file has these permissions set:
-r-xr-xr-x 1 bin bin libc.so.1 See also
ta110334, "How to recover from a lost or corrupted /usr/lib/libc.so.1 on OpenServer 5."
ta110335, "After unloading OSS601A, shell commands fail on my 5.0.2 system with "Killed".