Re: [yocto] Unable to run arm 64 binary on arm64 machine
Is /lib/ld-linux-aarch64.so.1 (interpreter listed in your file command output) installed in your system? If not, then you have to install it. How to do that depends on how you built your image. Peter From: yocto@lists.yoctoproject.org On Behalf Of MOHAMMED HASSAN via lists.yoctoproject.org Sent: Wednesday, November 15, 2023 8:51 To: yocto@lists.yoctoproject.org Subject: Re: [yocto] Unable to run arm 64 binary on arm64 machine root@se-704a0efe85c4:~# ./hello -sh: ./hello: No such file or directory root@se-704a0efe85c4:~# This is the response. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61693): https://lists.yoctoproject.org/g/yocto/message/61693 Mute This Topic: https://lists.yoctoproject.org/mt/102600996/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Unable to run arm 64 binary on arm64 machine
root@se-704a0efe85c4:~# ./hello -sh: ./hello: No such file or directory root@se-704a0efe85c4:~# This is the response. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61692): https://lists.yoctoproject.org/g/yocto/message/61692 Mute This Topic: https://lists.yoctoproject.org/mt/102600996/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Unable to run arm 64 binary on arm64 machine
On Tue, Nov 14, 2023 at 11:40 PM, Khem Raj wrote: > > it seems you haveĀ a mixed mode image where kernel is 64bit but userspace > is 32bit, so you have to compile your app to be 32bit as well. > otherwise you need to include 64bit runtime as well to support 64bit apps. > > Unfortunately I don't have much clarity on how to achieve this. Can you suggest what i should do. Thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61690): https://lists.yoctoproject.org/g/yocto/message/61690 Mute This Topic: https://lists.yoctoproject.org/mt/102600996/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-