LDD under the embedded platform

Source: Internet
Author: User

x86 platform has LDD can be very convenient to view the dependencies of the library, but in the embedded Linux environment does not have this command, instead of it is

cc=$ (cross_compile) gcc

Ldd=$ (cross_compile)readelf

Example

$ (cross_compile) readelf-d sdkdemo_video Dynamic section at offset 0x1a88 contains (Entries:tag Type)                     Name/value 0x00000001 (NEEDED) Shared library: [libtxdevicesdk.so] 0x00000001 (NEEDED) Shared library: [libpthread.so.0] 0x00000001 (NEEDED) shared library: [libdl.so.0] 0x00000001 (NEEDED) shared library: [libstdc++.so.6] 0x00000001 (NEEDED) shared Li Brary: [libc.so.0] 0x0000000c (INIT) 0x87cc 0x0000000d (FINI) 0x96d0 0x0000001                 9 (Init_array) 0x11a7c 0x0000001b (init_arraysz) 4 (bytes) 0x0000001a (Fini_array)  0x11a80 0x0000001c (Fini_arraysz) 4 (bytes) 0x00000004 (HASH) 0x8108 0x00000005                      (strtab) 0x84ec 0x00000006 (symtab) 0x824c 0x0000000a (Strsz) (bytes) 0x0000000b (syment) (bytes) 0x00000015 (DEBUG) 0x0 0x00000003 (Pltgot) 0x11b60 0x00000002 (pltrelsz) 224 (bytes) 0x00000014 (pltrel) REL 0x00000017 (JMP REL) 0x86ec 0x00000000 (NULL) 0x0


LDD under the embedded platform

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.