Is there a way to run x86_64 apps on arm (raspberry pi 4)
Not that I know of …
You might be able to emulate it with qemu, but you will have a huge overhead for the emulation layer.
Would this work?
This doesn’t really work because it requires that Binfmt_misc is compiled in my kernel and I don’t know how to check that or to compile it in my kernel.
binfmt_misc is provided by the raspberry pi kernel as a module:
You can try loading it with:
sudo modprobe binfmt_misc.