交叉工具链没有ldd命令,可以用readelf来代替,例如:
aarch64-none-linux-gnu-readelf -d sample_vin
输出:
Dynamic section at offset 0xad38 contains 37 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libax_sys.so]
0x0000000000000001 (NEEDED) Shared library: [libax_3a.so]