Learning which libraries are used for a binary
You can use ldd command to display all of the libraries which linked against a binary:
ldd /sbin/mkfs
linux-gate.so.1 => (0xb7fad000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7e3a000)
/lib/ld-linux.so.2 (0xb7fae000)
Sometimes, especially on embedded systems other than i386 architecture, there is no ldd utility. If you found this type of system and wants to learn the used libraries for a binary, you can use directly ld-linux.so.2 as follow:
/lib/ld-linux.so.2 --list /sbin/mkfs
linux-gate.so.1 => (0xb7fad000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7e3a000)
/lib/ld-linux.so.2 (0xb7fae000)
- 0 Comment
- Murat Demirten
- 14 Dec 2008, 20:50
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
- Disabling reverse dns lookups in ssh
- Enabling remote desktop on a VirtualBox Machine
- Syntax highlighting in less
- Redirecting tcp / udp ports with socat
- Users with /bin/false shell to login on vsftpd
- XFS Filesystem has duplicate UUID problem
- How to extract a deb package without installing
- Lowercase Table Names in MySQL
- Disabling ssh password authentication
- Using USB sound card with amarok
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
