You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it due to the fact that the image is for the riscv64 architecture and I am trying to use it on a amd64 machine? Should I build it inside an emulator?
I thought it would work since I managed to run the echo-python example, which if I understood correctly uses the cartesi VM which runs in a riscv64 emulator.
The text was updated successfully, but these errors were encountered:
Although it does not seem to be explicitly mentioned in the README, the error exec /bin/sh: exec format error seems to be related to either the kernel capability binfmt_misc being disabled on the host Linux system or, more likely, to the required QEMU binaries (which in this case should be qemu-riscv64-static) not being available, as either of these would make it impossible to run executables meant for a different architecture.
I was able to fix this error and successfully complete the build process by installing the qemu-user-static package, which also includes qemu-riscv64-static and I don't think is typically present by default on any system.
I would suggest adding the above information to the README as it is not easy to understand what is going on from the error itself; I would be happy to do it myself via a pull request if that is also ok.
I was able to fix this error and successfully complete the build process by installing the qemu-user-static package, which also includes qemu-riscv64-static and I don't think is typically present by default on any system.
I am trying to build the honeypot locally. Following the readme, I am executing:
Which failts with output:
Is it due to the fact that the image is for the
riscv64
architecture and I am trying to use it on aamd64
machine? Should I build it inside an emulator?I thought it would work since I managed to run the
echo-python
example, which if I understood correctly uses the cartesi VM which runs in a riscv64 emulator.The text was updated successfully, but these errors were encountered: