Dependency resolution in Linux

后端 未结 4 1201
情深已故
情深已故 2021-01-05 03:26

Under Windows I have used a program called dependency walker to examine the libraries the application is using. I was wondering how I can achieve this on Linux for a standar

4条回答
  •  囚心锁ツ
    2021-01-05 04:18

    Use ldd. It will show the dynamic libraries the binary needs.

    Note that the libraries themselves may in turn need more libraries. To get these, you can run ldd on the libraries you got from running ldd on the binary.

提交回复
热议问题