LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help understanding dynamic dependencies (https://www.linuxquestions.org/questions/linux-newbie-8/help-understanding-dynamic-dependencies-662483/)

tdandrea 08-13-2008 10:41 AM

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?


All times are GMT -5. The time now is 08:42 AM.