Linux on PowerPC FAQ-O-Matic : System Configuration : 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.edufadushin@top.cis.syr.edu | |
[Append to This Answer] |
Previous: | How does ld.so know where to look? |
Next: | Where do I get the latest shared libraries? |
|