[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

QEMU user mode for dynamically linked binaries

Hi guys,

I'm trying to run RISC-V binaries with QEMU in user emulation mode. While this works great for statically linked binaries, it completely fails with dynamic ones.

For instance, for a classic hello world, I get:

    $ qemu-riscv64 a.out
a.out: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

I followed the guidelines in the wiki [1] to have ld.so properly configured.

Any hint?


[1] https://wiki.debian.org/RISC-V#Pre-built_toolchains
Paul-Antoine Arras

Reply to: