HP-UX 11.22i (64-bit) Bad magic number for shared library: libdb2.so Hi, I am trying to run my application (32-bit) on HP-UX 11.22i (64-bit)
and am getting the above message while dynamically loading libdb2.so
from my application. I am using dlopen as follows:
dlopen(libName, RTLD_NOW);
I have looked up notes from DB2 that say that as long as I link with
32-bit DB2 libs, the application should work. I have made sure I have
32-bit DB2 libs in the SHLIB_PATH and also made sure that my
application is built with +s ld flag.
Has anyone run into this or has any pointers about this vague error
message from dlopen?
Thanks!
-Vandana |