当前位置:网站首页>View the library ldd that the executable depends on

View the library ldd that the executable depends on

2022-08-11 07:00:00 Thousand volumes

1. You can use ldd

ldd is a shell script file whose location can be viewed through the which command

Add parameter -v to ldd to see more detailed version information

2.ldd also fails when

See what this app file is

p>

As can be seen from the above figure, this app is an arm architecture file

3. Another viewing method is to use the objdump command.

objdump -x app | grep NEEDED

The two commands are connected through a pipeline, and the information of the dynamic library is obtained after filtering.If you execute objdump -x app alone, there is still a lot of output information.

原网站

版权声明
本文为[Thousand volumes]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/223/202208110516571403.html