-   Linux - Newbie (
-   -   Help understanding dynamic dependencies (

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
$ldd /apps/oracle/install/lib/
$ needs:
Cannot find /usr/lib/libc.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.