Package: qemu-user Version: 1:6.1+dfsg-8+b1
It seems like one has to help qemu-arm a little in order to run ARM executables. (This procedure does not seem to be necessary for other targets - at least not for qemu-ppc64le where I tried.) $ cat hello.c #include <stdio.h> int main() { printf("hello world!\n"); } $ arm-linux-gnueabihf-gcc-11 hello.c $ qemu-arm a.out qemu-arm: Could not open '/lib/ld-linux-armhf.so.3': No such file or directory $ ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ $ qemu-arm a.out a.out: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory $ export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib $ qemu-arm a.out hello world! Both seem to be necessary to run a binary: setting LD_LIBRARY_PATH and providing ld-linux-armhf.so.3 in /lib/ . It should work without these steps. -rbk. -- .''`. Richard B. Kreckel : :' : <krec...@debian.org> `. `' <krec...@in.terlu.de> `- <http://in.terlu.de/~kreckel/>