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:

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

ROCK 5 ITX Rockchip RK3588 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
0 Comments
oldest
newest
Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...