1 Reply Latest reply on Mar 15, 2010 1:21 PM by 807559

    Is there a basic UNIX command that is similar to C++ function "dlopen()?

      Good afternoon,
      I am running a program that does the following (code snippet):
      OUTPUT("Loading class " << name);
      void* handle = dlopen(so, RTLD_LAZY | RTLD_GLOBAL);
      if (!handle)
        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?