/lib/ld-linux.so.3 and/lib/ld-linux-armhf.so.3 and program not found solutions __linux

Source: Internet
Author: User

After writing a C application in Ubuntu, the arm board is run by cross compilation, but a run discovery system prompts not found.


But the view of the program properties, is executable ah, for why not found.


Then go to the host Ubuntu use the file command to view the document information as follows:


Then look at the other file information for programs that are already running on arm, and see what the difference is, as follows:


You can see that the interpreter (interpreter) of the two are different. So began to Niang/lib/ld-linux.so.3 and/lib/ld-linux-armhf.so.3 have what relationship, find a big circle also have no this information, so think of them since in/lib directory, may take a look at what situation. As follows:


Can see Ld-linux.so.3 is pointing to ld-2.8.so, so brainwave, is not the ld-linux-armhf.so.3 also link to ld-2.8.so is not can be used. As follows:


And then run again, this time is sure not to prompt: not found, but the successful operation.




Related Article

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.