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 Pi 4C Plus

Leave a Reply

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

Khadas VIM4 SBC
Khadas VIM4 SBC