1834962 Members
1706 Online
110071 Solutions
New Discussion

Re: shared libraries

 
SOLVED
Go to solution
derek b smith_1
Regular Advisor

shared libraries

All,

I cannot remember the HPUX command that will read a binary file and tell me what shared library files it uses? Does anyone know?

thank you, derek


Here is some documentation that I am going off of:

/usr/lib/dld.sl: Can't open shared library:
../../cloverleaf-external/SequeLinkClient/4_51_00/lib/libodbcinst.sl
/usr/lib/dld.sl is trying to resolve symbols, and was told to reference "../../cloverleaf-external/SequeLinkClient/lib/libodbcinst.sl" and cannot either find or open this path.
5 REPLIES 5
Simon Hargrave
Honored Contributor
Solution

Re: shared libraries

chatr
Simon Hargrave
Honored Contributor

Re: shared libraries

and ldd
derek b smith_1
Regular Advisor

Re: shared libraries

great! Thank you to both!
Muthukumar_5
Honored Contributor

Re: shared libraries

The problem of statement says,

shared library access is not in relative path. We can export shared library path as,

export SHLIB_PATH=/usr/lib

We can find the depenency of libraries as,

ldd -v

Regards
Muthu
Easy to suggest when don't know about the problem!
derek b smith_1
Regular Advisor

Re: shared libraries

In relation can anyone shed some light on the Please update.... statement?

#>chatr /usr/obam/jre/lib/PA_RISC/native_threads/libjava.sl

chatr(error): dl_header_ext.size != sizeof(dl_header_ext). Please update your v
/usr/obam/jre/lib/PA_RISC/native_threads/libjava.sl:
shared library
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
internal name:
libjava.sl
shared library list:
dynamic /usr/lib/libm.2
dynamic /usr/lib/libcl.2
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
data page size: D (default)
instruction page size: D (default)