Operating System - HP-UX
1753797 Members
7612 Online
108805 Solutions
New Discussion юеВ

Can't open shared library

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor

Re: Can't open shared library

>Probably there is a bug in the linker. Can we use any other linker?

You mean the dynamic loader? No, there is only one.
If you think there is a problem, you'll need to come up with a small test case (that aborts on the first bad load) and contact the Response Center.
They may have a debuggable dld that may help find any user problem.
Dennis Handly
Acclaimed Contributor

Re: Can't open shared library

Oh, is your executable linked with +s to enable SHLIB_PATH?
How are you dynamically loading that shlib? What shl_load or dlopen parms?
bivian
Advisor

Re: Can't open shared library

Yes it is linked with +s option.
BTW, i tied to add all the required shared libraries to LD_PRELOAD env variable. This works.
But, i don't understand why SHLIB_PATH does not work.
Dennis Handly
Acclaimed Contributor

Re: Can't open shared library

>I don't understand why SHLIB_PATH does not work.

If you want to pursue this, you'll need to talk to the Response Center.