by mcarni » Sat Jan 21, 2023 9:29 am
thanks @robg,
just to give a little feedback in case it might help others (then I will mark this as solved, i guess my issue are now related to the specific program that i want to run = steamlink)
i experimented a bit with chroot, arch-chroot and systemd-nspawn.
In the end among the 3, arch-chroot was helped me reach my goal with the least amount of effort.
chroot required a bit of setup (nothing too bad, the wiki is very helpful) while systemd-nspawn gave me issues with login, as mentioned on the wiki I had to remove a couple of files and every now and then i got a "free pointer()" issue and would not let me login.
for general maintenance or for general 32-bit use, I will stick to arch-chroot
anyway @robg suggestion seems the best for running one single program, so I played a bit also with it.
i linked the /armv7h libs as mentioned (i needed to link also /armv7h/opt/vc/lib) and I could run my 32-bit program on the aarch64 system.
I learned also a couple of thing about launching programs with specific libraries.
In my understanding I could have similar results if instead of linking libs i launch the program with $this->bbcode_second_pass_code('', 'LD_LIBRARY_PATH=/usr/lib7h:/armv7h/opt/vc/lib:$LD_LIBRARY_PATH /usr/bin/steamlink')
thanks for the support, I am still having issues with steamlink
$this->bbcode_second_pass_code('', 'qt.qpa.plugin: Could not load the Qt platform plugin "eglfs" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
/home/alarm/.local/share/SteamLink/steamlink.sh: line 199: 933 Aborted (core dumped) LD_PRELOAD=$QT_QPA_EGLFS_PRELOAD shell "$@"')
but I will post on the valve forum, seems the right place
thanks
M