查询Linux应用程序运行依赖哪些库
一法:
$(CROSS_COMPILE)ldd AppName
如:
arm_v5t_le-lld test
二法:
$(CROSS_COMPILE)objdump -x AppName |grep NEED
如:
arm_v5t_le-objdump -x test |grep NEED
三法:
$(CROSS_COMPILE)readelf -a AppName |grep "Shared library"
如:
arm_v5t_le-readelf -a test |grep "Shared library" |