lutris / buildbot

41 stars 27 forks source link

PCSX2 fails to run on Arch Linux unless dependencies are installed explicitly. #83

Closed dgavedissian closed 3 years ago

dgavedissian commented 5 years ago

Hello!

Thanks for writing such great software :) Today I tried to set up the PCSX2 runner, and when attempting to launch a game, it immediately exists. When looking at the logs, I noticed the following:

/home/dga/.local/share/lutris/runners/pcsx2/PCSX2: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory

I found an earlier issue (https://github.com/lutris/lutris/issues/906), and tried disabling the option "Prefer system libraries" under "System options", but that seems to have no effect.

If I install PCSX2 via the package manager (pacman -S pcsx2), and enable "Prefer system libraries", it works successfully (I guess because the missing dependencies are installed system wide by the package manager).

If I disable "Prefer system libraries" after installing PCSX2 via the package manager, I get a different error (probably due to a mismatch between "built in" dependencies and system libraries loaded where there are no "built in" dependencies):

/home/dga/.local/share/lutris/runners/pcsx2/PCSX2: symbol lookup error: /usr/lib32/libharfbuzz.so.0: undefined symbol: FT_Done_MM_Var
strycore commented 3 years ago

This shouldn't happen anymore because we explicitly check for the presence of the libraries before launching PCSX2. There are libraries that cannot be shipped in the lutris runtime so they'll have to be installed manually. We might improve on that by suggesting package installation if we detect missing libraries.