List the dynamic libraries used by a program

In order to know which dynamic libraries a particular binary is using, just type ldd. For example with busybox:

sh-3.00# ldd /bin/busybox
/bin/busybox: is setuid
libcrypt.so.0 => /lib/libcrypt.so.0 (0x2aaed000)
libm.so.0 => /lib/libm.so.0 (0x2ab41000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2ab9c000)
libc.so.0 => /lib/libc.so.0 (0x2abeb000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

Leave a Reply

Your email address will not be published. Required fields are marked *

Boardcon Rockchip and Allwinner SoM and SBC products
Boardcon Rockchip and Allwinner SoM and SBC products