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.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.