Page MenuHomeSolus

Add libgsm and libkeyutils libraries for Libretro runner in Lutris to work
Closed, ResolvedPublic

Description

When trying to run a rom in Lutris via the Libretro runner, the game never opened, with the teminal giving me this:

[libretro]:Unable to find retroarch config. Except erratic behavior
/home/[user]/.local/share/lutris/runners/retroarch/retroarch: error while loading shared libraries: libgsm.so.1: cannot open shared object file: No such file or directory

After I added in the required files to /usr/lib, libgsm.so.1 and libgsm.so.1.0.12, from https://packages.debian.org/jessie/amd64/libgsm1/download download, the output was this:

[libretro]:Unable to find retroarch config. Except erratic behavior
/home/[user]/.local/share/lutris/runners/retroarch/retroarch: error while loading shared libraries: libkeyutils.so.1: cannot open shared object file: No such file or directory

I then placed libkeyutils.so.1 and libkeyutils.so.1.6 from https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/k/keyutils-libs-1.5.10-1.fc27.i686.html, in /usr/lib again and now it works fine.
I have only tested the Libretro runner with the mGBA core but I assume this will make sure that the other cores in Libretro runner will run fine

Edit: added the wrong link I used for getting the libgsm library

Event Timeline

limpeh-sh created this task.Jun 3 2017, 3:12 PM
limpeh-sh updated the task description. (Show Details)Jun 3 2017, 3:13 PM

So you have freebsd libraries from Debian for libgsm and fedora rawhide libraries for libkeyutils ... If your system goes boom - well. It's hardly unexpected.
The dependencies should be packaged up, not cherry-picked from mostly incompatible distributions. (One of them isn't even Linux)

limpeh-sh added a comment.EditedJun 3 2017, 3:51 PM

Yeah, I know it isn't ideal and I did remove them from the folder after testing. Just wanted to know what other possible dependencies were missing other than libgsm were needed for the Libretro runner to work.
Oh and I just realised I added the wrong link for what I used for the libgsm library. It has been rectified in the task description

limpeh-sh updated the task description. (Show Details)Jun 3 2017, 4:10 PM
Beer added a subscriber: Beer.Sep 8 2017, 8:57 PM
JoshStrobl triaged this task as Normal priority.Sep 16 2017, 10:42 AM
JoshStrobl moved this task from Backlog to Accepted For Inclusion on the Package Requests board.
kyrios123 added a subscriber: kyrios123.

I'll package these stuffs, but I'll let the callers check them against Lutris.

@kyrios123 @silke already has keyutils packaged up, just needs to be reviewed.

Ops @JoshStrobl and @silke I just saw the message after submitting the packages.
I will abandon my diff.

R3836 and R3783 are both in the repo for quite some time now.
Should they be added as Lutris dependencies or can this task be closed ?

@kyrios123 Yea let's get them added as rundepps and mark this issue as resolved.