tags:

views:

56

answers:

1

Is there any tool that reading the headers prints the name of the dynamic libraries required by a Linux executable to run?

I need it to know if there are some weird dependencies (i.e. not very standard) in a binary that I've just built from the source (it's the Python branch of GDB) or it's mostly statically linked. I think that would be easier than reading the makefiles...

+2  A: 

/usr/bin/ldd is your friend.

Bombe