Question

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
Was it helpful?

Solution

Using ldd:

$ ldd DivFix++

OTHER TIPS

You can use the ldd command which prints the shared library dependencies:

ldd DivFix++ 
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top