I am running a program that does the following (code snippet):
OUTPUT("Loading class " << name);
void* handle = dlopen(so, RTLD_LAZY | RTLD_GLOBAL);
OUTPUT("Following .so file could not be loaded : " << so);
For a lot of the *.so files that this program is using, the "dlopen()" function works fine but there is one that is not working, and as I cannot change the program (e.g. and put a "dlerror()" function), I don't know what is the exact problem.
Is there a basic UNIX command that opens *.so files in the same way so that I could derive from the output of that command what might be wrong?