List the dynamic libraries used by a program

Orange Pi Development Boards

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)

Support CNX Software - Donate via PayPal or become a Patron on Patreon

Leave a Reply

avatar
  Subscribe  
Notify of