Problem
A binary that uses dynamic libraries was built and run on SCO
OpenServer Release 5.0.5. At runtime, an error similar to this
was displayed:dynamic linker: <binaryname> : symbol not found: dlopen Solution
To work around the problem, edit /usr/include/dlfcn.h, and add the following lines:
#define dlopen _dlopen
#define dlsym _dlsym
#define dlclose _dlclose
#define dlerror _dlerrorThen re-compile the binary.These changes ensure backward compatibility of SCO OpenServer 5.0.5 code with previous versions.