What is the output of
file helloworld
?
Did you modify any settings ?
I ask b/c there should be no mention of musl as libc in stock if you run ldd.
Best, Jan-Simon
-- Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet. Am 26.08.22, 09:54 schrieb "Carles Sole via lists.automotivelinux.org" <Carles.SoleMendi=de.bosch.com@xxxxxxxxxxxxxxxxxxxxxxxxx>:
Hello all,
I have recently switched to Nifty Needlefish and I am facing following issue. I built the image agl-image-minimal-crosssdk for the target Rpi4-64. After installing the SDK I built a Sample executable using the cross compiler version GCC 11.3.0 aarch64-agl-linux from the SDK.
Then I copied the executable into the Rpi4 with following command: scp ./HelloWorld/build/helloworld root@ipaddr:/home/
After I log into Rpi4 with ssh: ssh -l root ipaddr
When I run the executable I get following error:
root@raspberrypi4-64:/home# ./helloworld
-sh: ./helloworld: No such file or directory
I've run following commands to check if any library might be missing, but it does not seem to be the case:
root@raspberrypi4-64:/home# ldd ./helloworld
linux-vdso.so.1 (0x0000007fa60cc000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000007fa5e60000)
libc.so.6 => /usr/lib/libc.so.6 (0x0000007fa5cb0000)
libm.so.6 => /usr/lib/libm.so.6 (0x0000007fa5c10000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000007fa5be0000)
/lib/ld-musl-aarch64.so.1 => /usr/lib/ld-linux-aarch64.so.1 (0x0000007fa6094000)
root@raspberrypi4-64:/home# strace ./helloworld execve("./helloworld", ["./helloworld"], 0x7fc82aece0 /* 20 vars */) = -1 ENOENT (No such file or directory) strace: exec: No such file or directory +++ exited with 1 +++
I was following the same procedure with Lucky Lamprey and didn't face this issue, i.e. I was able to run the executable. Has anyone experienced a similar issue?
Thanks in advance for any hints.
Best Regards,
Carles
_._,_._,_ Links: You receive all messages sent to this group. View/Reply Online (#10104) | Reply To Group | Reply To Sender | Mute This Topic | New Topic Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx] _._,_._,_
|