Search code examples
linuxubuntushared-librariesldd

Know more about shared libraries of a executable file


Is there a way to know what shared libraries are used from a executable file ?

From DivFix++ for example:

$ file DivFix++ 
DivFix++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped

Solution

  • Using ldd:

    $ ldd DivFix++