Linux Commands Examples

A great documentation place for Linux commands


print shared library dependencies

see also : ldconfig


ldd [OPTION]... FILE...

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


cd bin
ldd GAME


ldd prints the shared libraries required by each program or shared library specified on the command line.



Print the version number of ldd.

-v --verbose

Print all information, including e.g. symbol versioning information.

-d --data-relocs

Perform relocations and report any missing objects (ELF only).

-r --function-relocs

Perform relocations for both data objects and functions, and report any missing objects or functions (ELF only).

-u --unused

Print unused direct dependencies.


Usage information.


ldd does not work on a.out shared libraries.

ldd does not work with some extremely old a.out programs which were built before ldd support was added to the compiler releases. If you use ldd on one of these programs, the program will attempt to run with argc = 0 and the results will be unpredictable.

see also

ldconfig ,


Roland McGrath and Ulrich Drepper.

How can this site be more helpful to YOU ?

give  feedback