xRobot
xRobot

Reputation: 26567

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

Upvotes: 2

Views: 252

Answers (2)

codaddict
codaddict

Reputation: 455020

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

ldd DivFix++ 

Upvotes: 5

robbrit
robbrit

Reputation: 17960

Using ldd:

$ ldd DivFix++

Upvotes: 5

Related Questions