LPI Exam Questions

What tool can you use to print shared library dependencies?

What tool can you use to print shared library dependencies?

A.
ldconfig

B.
ldd

C.
libdep

D.
libpath

E.
ldev

Explanation:

ldd command prints the shared libraries required by each program or shared library specified on
the command line. Example: ldd libdb.so.3 libc.so.6 => /lib/ tls /libc.so.6 (0x00237000) /lib/ld-
linux.so.2 (0x0021e000)