General Oracle Client Library Info

Advisor Oracle Client Library Info


I was trying to make a shared object linked with some C objects, Oracle Archived libraries & few Unix libraries. The linking seems to be working fine with most of the objects but when I am trying to link with the shared object, I am getting following error:
Cannot dlopen load module '/usr/lib/hpux32/' because it contains thread related data.

Upon searching the web, I found that "library containing Thread Local Storage (TLS) and using static TLS model should not be used as a dependency. You can use +tls=dynamic compiler option to re-compile the library to avoid errors."

Can somebody tell me is it the case with
If so, how to re-compile it using dynamic model?

I have also tried out LD_PRELOAD option. But that didn't helped either.