View Single Post

   
  #2 (permalink)  
Old 01-04-2008, 09:24 PM
Mike
 
Posts: n/a
Default Re: Checking for unresolved symbols

In article <d924fa71.0401211306.5e6d7abb@posting.google.com >, sunil wrote:
> Hi!
> I build my task using a shared obj. Now I make a call to some
> function in some library in one of the source files that make up the
> shared object. However the library that is satisfying this dependency
> was not linked when task was built. So whenever I rebuild a shared
> obj. I want to relink task only if needed: if my shared obj has
> references that cannot be satisfied by existing set of libraries, then
> add the library needed and relink it. On SUN I can acheive this using
> ldd -r taskname and it shows if any references that cannot be
> satisfied by existing set of libraries exist. How do I do this on
> AIX/IBM's.
> Thanks,
> Sunil


Try setting LIB_PATH to the directory where your *.so exists.
Reply With Quote