Bug#1001156: qemu-arm needs some help with finding libs

2021-12-05 Thread Richard B. Kreckel
On 05.12.21 23:16, Aurelien Jarno wrote: >> I am asking because without it I am getting >> a.out: error while loading shared libraries: libstdc++.so.6: cannot open >> shared object file: No such file or directory >> >> when running qemu-arm a.out. (libstdc++6-armhf-cross is installed.) > > You

Bug#1001156: qemu-arm needs some help with finding libs

2021-12-05 Thread Aurelien Jarno
On 2021-12-05 23:01, Richard B. Kreckel wrote: > On 05.12.21 20:22, Aurelien Jarno wrote: > > libc6:armhf does provide the /lib/ld-linux-armhf.so.3. Do you have it > > installed? > > I see. Maybe I messed up that symlink while trying to find an error. > > Say, do users have to export

Bug#1001156: qemu-arm needs some help with finding libs

2021-12-05 Thread Richard B. Kreckel
On 05.12.21 20:22, Aurelien Jarno wrote: > libc6:armhf does provide the /lib/ld-linux-armhf.so.3. Do you have it > installed? I see. Maybe I messed up that symlink while trying to find an error. Say, do users have to export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib? I am asking because

Bug#1001156: qemu-arm needs some help with finding libs

2021-12-05 Thread Aurelien Jarno
On 2021-12-05 18:06, Richard B. Kreckel wrote: > On 05.12.21 17:33, Michael Tokarev wrote: > > 05.12.2021 19:21, Richard B. Kreckel wrote: > >> On 05.12.21 14:34, Michael Tokarev wrote: > >>> If you want your foreign binary to run, enable this foreign architecture > >>> in dpkg

Bug#1001156: qemu-arm needs some help with finding libs

2021-12-05 Thread Richard B. Kreckel
On 05.12.21 17:33, Michael Tokarev wrote: > 05.12.2021 19:21, Richard B. Kreckel wrote: >> 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 >>>

Bug#1001156: qemu-arm needs some help with finding libs

2021-12-05 Thread Michael Tokarev
05.12.2021 19:33, Michael Tokarev wrote: ... libc64:armhf libc6:armhf ofcourse. Something's wrong with my typing today :) Thanks, /mjt

Bug#1001156: qemu-arm needs some help with finding libs

2021-12-05 Thread Michael Tokarev
05.12.2021 19:21, Richard B. Kreckel wrote: 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.

Bug#1001156: qemu-arm needs some help with finding libs

2021-12-05 Thread Richard B. Kreckel
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.

Bug#1001156: qemu-arm needs some help with finding libs

2021-12-05 Thread Richard B. Kreckel
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 int main() {