Problem
I have compiled my program using the UnixWare/OpenServer Development
Kit (UDK) 7.0.0 on my SCO OpenServer Release 5.0.4 system. Now I
want to run the binary on either the 5.0.0 or 5.0.2 version of the
operating system.When I run it, I get an error similar to the following:
dynamic linker: ./random: symbol not found: random
Killed Cause
At run time, the binary calls for certain libraries that it isn't finding on the system. The UDK Compatibility Module for OpenServer needs to be installed.
Solution
Insert the UnixWare/OpenServer Development Kit CD-ROM in the CD-ROM
device. Install the OSRcompat package with the following command:$ pkgadd -d /dev/cd0 OSRcompatOnce installed, you can run the binary on the system without having any dynamic linker errors.
See also
ta100872, "Using dlopen() on my own DLL fails with 'relocation error: symbol not found'."
ta100781, "I get a relocation error when loading my DLL using dlopen(S)."