Como podemos descobrir e listar bibliotecas estáticas usadas em um programa Linux?
ldd <exe filename>
shows dynamically linked libraries
nm <exe filename>
shows the symbols in the file.To see which symbols come from static libraries requires running
nm
against those libraries to get a list of the symbols (functions, etc.) in them, then comparing them to what your list of symbols fromnm <exe filename>
.You compare lists with the
comm
command. Seeman comm
for details.This was taken from this forum here.
Fonte Obtenha uma lista de bibliotecas estáticas usadas em um executável , responda por DrAl