(Answer) (Category) Linux on PowerPC FAQ-O-Matic : (Category) System Configuration : (Category) Shared Libraries :
How do I tell if an executable uses shared libraries?
The ldd command will tell you the dependencies for a given program:

<pre>
prompt% ldd `which wish`
        libtk4.2.so => /usr/lib/libtk4.2.so (0x30000000)
        libtcl7.6.so => /usr/lib/libtcl7.6.so (0x300ef000)
        libX11.so.6 => /usr/X11/lib/libX11.so.6.1 (0x3017f000)
        libdl.so.2 => /lib/libdl.so.2 (0x30279000)
        libm.so.6 => /lib/libm.so.6 (0x302be000)
        libc.so.6 => /lib/libc.so.6 (0x30322000)
        /lib/ld.so.1 => /lib/ld.so.1 (0x00000000)
</pre>

Fred Dushin
 fadushin@top.cis.syr.edu
fadushin@top.cis.syr.edu
[Append to This Answer]
Previous: (Answer) How does ld.so know where to look?
Next: (Answer) Where do I get the latest shared libraries?
This document is: http://www.jonh.net/cgi-bin/lppcfom/fom?file=40
[Search] [Appearance]
This is a Faq-O-Matic 2.717d.
Hosted by anduin.org and SourceForge Logo