[Ilugc] One Day One GNU/Linux Command (LDD)

Bharathi Subramanian sbharathi at MidasComm.Com
Fri Dec 19 09:32:44 IST 2008


One Day One GNU/Linux Command 
=============================

ldd -- Print shared Library DepenDencies.

Summary:

Most of the programs/libraries are linked to shared libraries, like
libc, etc. If a particular shared library, needed by a program, is 
not present in the system, then that program will not run.

ldd command is used to print the shared libraries required by each
program or shared library specified on the command line.

Examples:

$ ldd /bin/ls -- Print all shared libs needed for the ls command.

$ ldd -v /bin/ls -- Same as above + Extra version details.

$ ldd /lib/libtermcap.so.2 -- Print all shared libs needed for this
                              library.

Read: man ldd

HTH :)
--
Bharathi S



More information about the ilugc mailing list