Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle Client Library (libclntsh.so.9.0) & TLS Model

513225May 16 2006
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2006
Added on May 16 2006
0 comments
226 views