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.