On 05.12.21 14:34, Michael Tokarev wrote:
> If you want your foreign binary to run, enable this foreign architecture
> in dpkg (--add-architecture), run apt update, and install the corresponding
> libc - this one will install things into the right place.

All this has already been done. (Otherwise, there wouldn't have been
/usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3, which is provided by
package libc6-armhf-cross_2.32-1cross4.)

> I don't know details and reasons about the /usr/arb-linux/gnueabihf/ stuff
> and why it is not in /lib. But it is definitely not qemu's way to change
> the way regular linux system works.

Well, this is the way files are set up by Debian multiarch.

As things are, qemu-arm cannot be used by non-root users because they
need to do something only root can do. => It is broken. Why it is
broken, is the question now.

We should reopen this bug. If qemu-user is the wrong package, it should
be reassigned to another more appropriate package. (Maybe
libc6-armhf-cross?)

  -rbk.

Reply via email to