I'm not necessarily looking to add a library file to an existing app right now. I am looking for a command that shows current dynamically linked libraries for an application. After I identify which library is missing, the ar command looks like it will allow me to add it. So that will be a good thing to know. Thanks!
The example of Sun Solaris ldd command below shows the library needed as well as the linked libraries being used. It will also indicate what libraries are missing. My example doesn't show this, though.
Does AIX have a similar command for this?
I'm kind of browsing out there, and I beleive I can get an
AIX version of this. Just have to find and compile it.
Thanks much!
Chris
/export/adsm> ldd dsm
libDtHelp.so.1 => /usr/lib/libDtHelp.so.1 libDtSvc.so.1 => /usr/lib/libDtSvc.so.1
libm.so.1 => /usr/lib/libm.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1
libw.so.1 => /usr/lib/libw.so.1
libXm.so.3 => /usr/lib/libXm.so.3
libXt.so.4 => /usr/lib/libXt.so.4
libX11.so.4 => /usr/lib/libX11.so.4
libpthread.so.1 => /usr/lib/libpthread.so.1 libC.so.5 => /usr/lib/libC.so.5
libthread.so.1 => /usr/lib/libthread.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libtt.so.2 => /usr/dt/lib/libtt.so.2
libgen.so.1 => /usr/lib/libgen.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libSM.so.6 => /usr/openwin/lib/libSM.so.6
libICE.so.6 => /usr/openwin/lib/libICE.so.6
libXext.so.0 => /usr/openwin/lib/libXext.so.0