Closed Saroufim closed 5 years ago
Fixed in #36
The issue still persists after the inclusion of udev. Libretro still complains about missing libudev.so.1
Oh, right, libudev.so.1. We've bundled udev v175, which provides libudev.so.0.
~/.var/app/net.lutris.Lutris/data/lutris/runners/retroarch/retroarch: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
Hmm, curious. I think we have at least three options...
We can just bundle systemd, e.g. from flathub/shared-modules#57. Steam flatpak is doing so, and neither udev can really work inside flatpak sandbox anyway.
The best approach would be building all the Lutris runners as flatpak extensions, so that they are built and linked against flatpak runtime. But this is barely possible without full support from Lutris devs - if they are not interested in flatpak as the primary platform for Lutris, there'll be too much effort for us.
@gasinvein I'm open to working on making org.libretro.RetroArch work as a flatpak extension for net.lutris.Lutris
.
Turning it into Lutris extension should be easy enough, except for dependency on Qt. I'll try that later. Also we would need an extension point for runners in this (Lutris) manifest.
We could disable the Qt interface in the mean time.
./configure --disable-qt
Libretro cores require libudev.so.1. Apparently, this is not part of the Lutris runtime and it needs to be added to the flatpak bundle.