Bug#1001156: qemu-arm needs some help with finding libs
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 LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib?
No. The libraries in /usr/arm-linux-gnueabihf/lib are for
cross-compiling. You don't even need to install them for just running
binaries.
> 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 need to install libstdc++6:armhf instead.
Regards,
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
Reply to: