In a Linux system installed on a computer, you can run the LDD command to check which libraries the corresponding executable files or library files depend on, however, executable files or library files must be of the same type as the operating system compiler, that is, the computer is an x86 GCC compiler, you cannot use the LDD command to view executable files or library files compiled by the arm cross compiler.
If you want to view the dependencies between executable programs and library files that are compiled by arm on Ubuntu and other Linux Hosts, run the following command:
[Email protected]: $ arm-Linux-readelf-A busybox | grep "shared"
0x00000001 (needed) Shared Library: [libm. so.6]
0x00000001 (needed) Shared Library: [libc. so.6]
The results show that the libm. so.6 and libc. so.6 dynamic libraries are required for busybox.
Original Works. reposted for the source!
On the Ubuntu host machine, view the dependencies between executable programs and library files that are compiled by arm, similar to the LDD command on the PC.