Operating System - HP-UX
1753259 Members
5571 Online
108792 Solutions
New Discussion

libclntsh.so.9.0 Oracle Client Library Info

 
Maruti
Advisor

libclntsh.so.9.0 Oracle Client Library Info

Hi,

I was trying to make a shared object TRIGGER.so 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 libclntsh.so.9.0 with the shared object, I am getting following error:
Cannot dlopen load module '/usr/lib/hpux32/libpthread.so.1' 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 libclntsh.so.9.0?
If so, how to re-compile it using dynamic model?

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