Shared libraries: what functions are dynamically linked in?

Scott Lurndal scottl at convergent.com
Fri Apr 26 04:35:09 AEST 1991


In article <47793 at ut-emx.uucp>, pefv700 at perv.pe.utexas.edu writes:
|> In article <7355 at auspex.auspex.com>, guy at auspex.auspex.com (Guy Harris) writes...

|> Say you have a.out, a stripped executable that was linked dynamically with
|> a shared library.  (nm won't work here, right?)  Assuming I did it right,
|> ldd only told me, "Yes, it's using this shared library."  But I want to
|> know the functions in the shared library that will be used when the
|> executable is exec'd.

For non-stripped executables:

    nm a.out | grep UNDEF

for stripped executables:

    dump -v -s -n .dynsym a.out  | grep UNDEF

(This works on SVR4.0 systems)

scott



More information about the Comp.unix.wizards mailing list