Page 1 of 1

RetroArch dependencies

Posted: 10 Sep 2022, 10:23
by JTD
Hello Porteus community, I want to know how I would go around adding RetroArch dependencies as modules because the AppImage version (https://buildbot.libretro.com/stable/1. ... ux/x86_64/ - RetroArch_Qt.7z) doesn't seem to have everything in order to run properly on Porteus.

The terminal tells me I need libjack.so.0 but when I go to https://pkgs.org/download/libjack.so.0 there's no Slackware packages that I could potentially test with txz2xzm or something.

I was also wondering what happened with the Unified Slackware Package Manager (USM) because I can't find it on Porteus 5.0, I remember it being an easy way to solve dependencies.

Then there's the issue when I try to use
ldd RetroArch-Linux-x86_64.AppImage | grep "not found"
it tells me the file is not a dynamic executable so I can't see if there's more than just the libjack.so.0 it asks for.

And finally, if there is more than one dependency needed to run RetroArch on Porteus, what is a command that can merge every one of them into a single module?

Mind you I want to use the AppImage (and not turn RetroArch into a module) because I also use other distros (such as Mint and Xubuntu) so I rather have a single file (AppImage) that works with all distros.

Thank you in advance!

RetroArch dependencies

Posted: 10 Sep 2022, 11:49
by beny
https://slakfinder.org/index.php?act=se ... e=#results
usm with porteus5 is a dead link, you have to use slackpkg with the pmod option and slpkg or the apt-get you have to tweak a little the configure but work well.

RetroArch dependencies

Posted: 10 Sep 2022, 17:23
by JTD
It is as I feared, now that I have that dependency (got it from beny's link) it's asking me for libcelt0.so.2, but it is pointless to go like this over and over if I don't know the number of dependencies RetroArch needs (like using the ldd command) because there could be dozens or hundreds and going one by one is not really that optimal...

RetroArch dependencies

Posted: 10 Sep 2022, 17:50
by beny
hi you can follow the search with slackfinder because there are also a lot of packages build from sbo so you have a lot of software to download celt is in, choose the 15.0 version and x86_64 and search...and i have see if you download flatpak from slackfinder,seem that your software run under flatpak too the stable version or am i wrong..try it

RetroArch dependencies

Posted: 10 Sep 2022, 18:58
by babam
JTD,
Download and activate http://dl.porteus.org/x86_64/Porteus-v5 ... -gnome.xzm

Download and activate 011-slapt-get-0.11.6-x86_64-2gv.xzm slapt-get: slapt-get is an APT like system for Slackware package management.

Uncomment line 19 in /etc/slapt-get/slapt-getrc

Code: Select all

SOURCE=https://slakfinder.org/sbomt64-15.0/:DEFAULT
Use the getmod

Code: Select all

sudo getmod -u
sudo getmod -m RetroArch xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm
Tested on Porteus 5.0 GNOME

RetroArch dependencies

Posted: 11 Sep 2022, 00:23
by ncmprhnsbl
JTD wrote:
10 Sep 2022, 17:23
It is as I feared, now that I have that dependency (got it from beny's link) it's asking me for libcelt0.so.2, but it is pointless to go like this over and over if I don't know the number of dependencies RetroArch needs (like using the ldd command) because there could be dozens or hundreds and going one by one is not really that optimal...
this is really the only way to determine missing deps for appimages..
in this case, i suspect all that you'll need is jack and celt (the reason being that appimages tend to be made using old distros that tend to include these)
or
follow babam's course and build a module native to the slackware world (which doesn't need jack or celt)

RetroArch dependencies

Posted: 11 Sep 2022, 22:15
by JTD
Oh nice! I didn't know about slapt-get, it's the perfect replacement for USM as RetroArch AppImage now works thanks to your aid!
babam wrote:
10 Sep 2022, 18:58

Code: Select all

sudo getmod -m RetroArch xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm
Mind telling me what these commands do specifically?

I read on your thread that -m creates a module of the software including its dependencies, but RetroArch itself was not downloaded was it? The whole command was about 5MB and it had the jack, celt etc. But since it has RetroArch in the command line I'm left wondering if it got RetroArch or only its dependencies.

Are these xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm utilities RetroArch related? Or just to make getmod work properly, can you tell me what they all do?

Also I tried the slapt-get command but it didn't seem to work for me, was it because I uncommented the line in the slapt-getrc file like you told me to?

Thank you for all your help!
ncmprhnsbl wrote:
11 Sep 2022, 00:23
this is really the only way to determine missing deps for appimages..
I see, so there's no variant of the "ldd" command to list all dependencies at once for AppImages, correct?

RetroArch dependencies

Posted: 11 Sep 2022, 23:24
by beny
hi after using getmod -u you can use the /usr/sbin/slapt-get -l to view all the packages available from the repositories... if you have the slackfinder repo active RetroArch package is in

RetroArch dependencies

Posted: 12 Sep 2022, 02:31
by ncmprhnsbl
JTD wrote:
11 Sep 2022, 22:15
I read on your thread that -m creates a module of the software including its dependencies, but RetroArch itself was not downloaded was it? The whole command was about 5MB and it had the jack, celt etc. But since it has RetroArch in the command line I'm left wondering if it got RetroArch or only its dependencies.
use:

Code: Select all

lsxzm <the_module.xzm>
to find out what's in it.
or more specifically, for the packages in it:

Code: Select all

lsxzm <the_module.xzm> | grep "var/lib/pkgtools/packages" 
JTD wrote:
11 Sep 2022, 22:15
But since it has RetroArch in the command line I'm left wondering if it got RetroArch or only its dependencies.
i'd be surprised if it didn't get RetroArch and its dependencies (or at least some of them)
JTD wrote:
11 Sep 2022, 22:15
xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm
not directly, they're for qt5, which i assume is included in the appimage.. so probly not needed..
JTD wrote:
11 Sep 2022, 22:15
I see, so there's no variant of the "ldd" command to list all dependencies at once for AppImages, correct?
not that i'm aware of ... beyond maybe extracting the appimage and running ldd on the binaries within it..

RetroArch dependencies

Posted: 12 Sep 2022, 10:36
by JTD
beny wrote:
11 Sep 2022, 23:24
hi after using getmod -u you can use the /usr/sbin/slapt-get -l to view all the packages available from the repositories... if you have the slackfinder repo active RetroArch package is in
Thank you beny I will try messing with the slapt-get more to understand more about it and that's a good start.
ncmprhnsbl wrote:
12 Sep 2022, 02:31
i'd be surprised if it didn't get RetroArch and its dependencies (or at least some of them)
And thank you too ncmprhnsbl for the useful commands, about this quote above I believe it did get RetroArch itself because it created a .Desktop launcher and some of the directories in the .AppImage got messed up (looking for Cores in /usr/lib64/libretro instead of the designated AppImage directory). I will try unpacking the module and exclude RetroArch itself so only the dependencies are inside the module.

RetroArch dependencies

Posted: 27 Jan 2023, 07:50
by extrem0
JTD wrote:
10 Sep 2022, 10:23
And finally, if there is more than one dependency needed to run RetroArch on Porteus, what is a command that can merge every one of them into a single module?
Any progress with the launch of RetroArch? Faced the same problem.

Code: Select all

./RetroArch-Linux-x86_64.AppImage: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory

RetroArch dependencies

Posted: 27 Jan 2023, 10:48
by beny

RetroArch dependencies

Posted: 12 Feb 2023, 12:36
by extrem0
beny wrote:
27 Jan 2023, 10:48
you can search here: https://slackware.nl/slakfinder/index.p ... e=#results
Thank you! It works now with jack2-1.9.20-x86_64-1alien.