UNIX Dynamic Dependencies [PREVIOUS] [TOP] [NEXT]

4.4 Finding UNIX Programs' Dynamic Dependencies

If you plan to recompile or relink a program, you can use the ldd command to list the shared objects the program was orignally linked with. For example:

coda3{lkb}%  ldd /usr/local/vicar/vicar170/gui/lib/sun-solr/sage
        librtl.so.4.4 =>         (not found)
        libXm.so.3 =>    /usr/openwin/lib/libXm.so.3
        libXt.so.4 =>    /usr/openwin/lib/libXt.so.4
        libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
        libm.so.1 =>     /usr/lib/libm.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libC.so.5 =>     /usr/lib/libC.so.5
        libw.so.1 =>     /usr/lib/libw.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libintl.so.1 =>  /usr/lib/libintl.so.1

Next: SPARC Graphic Card Issues
Previous: Notes on using Solaris 2.5
Top: VICAR Installation Table of Contents
Updated Thu May 8 13:19:47 1997 by Larry Bolef