How to List Shared Library Dependencies Used by an Application

Every how and then you need to find out what libraries a certain application is using. Log in to your shell prompt and  type eg :

ldd `which nano`

You should see a result like:

ldd -v `which nano`

linux-gate.so.1 => (0xb7f58000)

libncursesw.so.5 => /lib/libncursesw.so.5 (0xb7f0e000)

libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7db3000)

libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7dae000)

/lib/ld-linux.so.2 (0xb7f59000)

Version information:

/usr/bin/nano:

libc.so.6 (GLIBC_2.3) => /lib/i686/cmov/libc.so.6

libc.so.6 (GLIBC_2.3.4) => /lib/i686/cmov/libc.so.6

libc.so.6 (GLIBC_2.1) => /lib/i686/cmov/libc.so.6

libc.so.6 (GLIBC_2.2) => /lib/i686/cmov/libc.so.6

libc.so.6 (GLIBC_2.0) => /lib/i686/cmov/libc.so.6

/lib/libncursesw.so.5:

libdl.so.2 (GLIBC_2.1) => /lib/i686/cmov/libdl.so.2

libdl.so.2 (GLIBC_2.0) => /lib/i686/cmov/libdl.so.2

libc.so.6 (GLIBC_2.1.3) => /lib/i686/cmov/libc.so.6

libc.so.6 (GLIBC_2.3) => /lib/i686/cmov/libc.so.6

libc.so.6 (GLIBC_2.2) => /lib/i686/cmov/libc.so.6

libc.so.6 (GLIBC_2.1) => /lib/i686/cmov/libc.so.6

libc.so.6 (GLIBC_2.0) => /lib/i686/cmov/libc.so.6

/lib/i686/cmov/libc.so.6:

ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2

ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2

ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2

/lib/i686/cmov/libdl.so.2:

ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2

libc.so.6 (GLIBC_2.1.3) => /lib/i686/cmov/libc.so.6

libc.so.6 (GLIBC_2.1) => /lib/i686/cmov/libc.so.6

libc.so.6 (GLIBC_2.0) => /lib/i686/cmov/libc.so.6

libc.so.6 (GLIBC_PRIVATE) => /lib/i686/cmov/libc.so.6

 

 

Bad Behavior has blocked 295 access attempts in the last 7 days.