Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

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.