Help understanding dynamic dependencies
I am currently troubleshooting an issue where we have a shared library returning a result that it cannot find a dependency.
$Cannot load drsoci.so
$ldd /apps/oracle/install/lib/drsoci.so
$drcosi.so needs:
Cannot find /usr/lib/libc.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr.o)
$
What I have found is that there is a link
/usr/lib/libc.a -> /usr/ccs/lib/libc.a
$cp /usr/ccs/lib/libc.a ./tdandrea/libc.a
Within this directory now resides shr.o. I cannot understand why ldd cannot resolve the link. I don't quite understand all about how shared libraries and dynamic dependencies work so I am a little at a loss. Any suggestions how I can get this fixed?
|