Re: QEMU user mode for dynamically linked binaries
Thanks for the quick reply!
On 12/06/2019 20:49, John Paul Adrian Glaubitz wrote:
On 6/12/19 7:38 PM, Paul-Antoine Arras wrote:
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  to have ld.so properly configured.
You need to create a complete changeroot, of course, which contains the shared
libraries you need.
Indeed, it works with chroot.
However, after reading the wiki page on QEMU user emulation , it
seemed to me that it should be possible to run dynamically-linked
binaries without chroot, simply by installing the target libc6 with
Am I mistaken?