Technical article 109700

What is SLS OSS472A, the Binary Misrecognition Patch for OpenServer 5.0.4?

OpenServer 5.0.4

Written · Last revised

Problem

I run an ELF binary produced by a non-OpenServer compiler and get the error message:

dynamic linker: : symbol not found:
init_features_vector

Cause

All OpenServer dynamic ELF binaries make reference to the symbol "_init_features_vector". Some other development systems' libc do not provide this symbol. However, the runtime linker uses a different mechanism to recognize binary types, and can sometimes be fooled.

Solution

Support Level Supplement (SLS) OSS472A, the Binary Misrecognition Patch, provides a new libc.so.1 which has an additional check for ELF binaries. Specifically, after conventional means have determined that the binary is not an OpenServer binary, a call to _lookup was added to look for _init_features_vector in the symbol table. The alternate rtld is loaded only if _init_features_vector is not there.

See the attached cover letter that accompanies this SLS for more information, including installation instructions.

See also

ta100864, "I installed the JDK or UDK, and now some binaries will not run."

Dear SCO Customer,

Attempting to run ELF binaries produced by a non-OpenServer compiler produces the error:

dynamic linker: : symbol not found:
init_features_vector
Examining this binary with the ldd(C) command (ldd [-r|-d] ) results in
the following errors:
needs:
          /usr/lib/libc.so.1 => /udk/usr/lib/libc.so.1

dynamic linker: : relocation error: symbol not found: _init_features_vector

Support Level Supplement (SLS) OSS472A, the Binary Misrecognition Patch for OpenServer 5.0.4, corrects these problems.

Software Notes and Recommendations
----------------------------------

SLS OSS472A is only intended for use on SCO OpenServer Enterprise System Release 5.0.4 with the SCO Development System Release 5.0.4 installed.

I. INSTALLING SLS OSS472A

NOTE: Make sure you have a working emergency boot/root floppy and a verified backup of /usr/lib/libc.so.1 before installing OSS472A.

As this patch replaces libc.so.1, any failure during installation or
removal puts the system into an unusable state.  If the patch fails during
installation or removal, you should boot from the emergency boot/root
floppies, mount the root filesystem, and restore the libc.so.1 from a
backed up copy.
1. Prepare the media for installation.

Download the OSS472A media image file (oss472a file), place the file in the /tmp directory, and rename the file by typing the following command:

mv /tmp/oss472a /tmp/VOL.000.000

2. Run the Software Manager with the command:

# scoadmin software

or double-click on the Software Manager icon in the desktop.

3. Pull down the "Software" menu and select "Install New".

4. When prompted for the host from which to install, choose the local machine and then "Continue".

5. When prompted to select the media device:

If you are installing this SLS from diskette media, select the appropriate floppy disk drive and then "Continue". Proceed to step 6.

If you are installing this SLS from media images per step 1, select
"Media Images", then "Continue".  When prompted for the "Image
Directory", enter the working directory where you placed the VOL
files in step 1 and then select "OK".

6. When prompted to select software to install, ensure that the "OSS472A" entry is highlighted. Choose "Install".

7. Once the installation finishes, quit the Software Manager.  Installation
   of SLS OSS472A is now complete.
II. REMOVING SLS OSS472A
Note: Patches must be rolled back in the reverse order in which they were
installed on a per-component basis.  Hence, if the "Binary Misrecognition
Patch for OpenServer 5.0.4" patch is not the most recent patch applied to
the UNIX component of the product, you will have to roll back all patches
applied after the "Binary Misrecognition Patch for OpenServer 5.0.4" patch
prior to rollback of the "Binary Misrecognition Patch for OpenServer 5.0.4"
patch.
1. Log in as root.
2. Execute the command:
# scoadmin software

or double-click on the Software Manager icon in the desktop.

3. Highlight "OSS472A: Binary Misrecognition Patch for OpenServer 5.0.4".

4. Pull down the "Software" menu and select "Remove Software".

5. Once the removal finishes, quit the Software Manager.  Removal of
   SLS OSS472A is now complete.

If you have questions regarding this SLS, or the product on which it is installed, please contact your software supplier.

We appreciate your business.
SCO Support Services

From the Xinuos technical article database, record 109700. Reproduced with permission. The original is at www.sco.com/ta/109700, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.