How to list library dependencies of a non-native binary?

后端 未结 9 868
孤城傲影
孤城傲影 2020-12-12 16:03

When developing for native platform, I can use ldd to list all the shared libraries (.so files) a binary executable I build will try to load upon start-up. But when cross-co

9条回答
  •  轮回少年
    2020-12-12 16:36

    while in gdb, info shared is similar to ldd. It gives complete human readable runtime information of the executable.
    readelf would miss path and other libraries information.
    readelf is a very good tool for on the host study. Developer may choose that works.

提交回复
热议问题