Sunday, November 18, 2001

Shared Library Dependency

Check for a particular Program what all library it uses :

[root@mybox unix]# ldd /usr/sbin/grub
libncurses.so.5 => /lib/libncurses.so.5 (0x40023000)
libc.so.6 => /lib/i686/libc.so.6 (0x40063000)
libgpm.so.1 => /usr/lib/libgpm.so.1 (0x40193000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libm.so.6 => /lib/i686/libm.so.6 (0x4019a000)

This will print the shared library Dependencies

No comments: