GNU/Linux Command – LDD

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 xyz program, is not present in the system, then xyz 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 details. $ ldd /lib/libtermcap.so.2 -- Print all shared libs needed for this library.
Read: man ldd

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: