jmcerrejon / PiKISS

PiKISS for Raspberry Pi: A bunch of scripts with menu to make your life easier.
http://misapuntesde.com
MIT License
866 stars 90 forks source link

Retroarch fails to run on Bookworm #202

Open Silent-Hunter opened 6 months ago

Silent-Hunter commented 6 months ago

Trying to run Retroarch gives the error: retroarch: error while loading shared libraries: libavcodec.so.58: cannot open shared object file: No such file or directory

However, it is not installable:

 sudo apt install libavcodec58
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libavcodec58 : Depends: libaom0 (>= 1.0.0) but it is not installable
                Depends: libcodec2-0.9 (>= 0.9.2) but it is not installable
                Depends: libdav1d4 (>= 0.2.1) but it is not installable
                Depends: libvpx6 (>= 1.6.0) but it is not installable
                Depends: libwebp6 (>= 0.5.1) but it is not installable
                Depends: libx264-160 (>= 2:0.160.3011+gitcde9a93) but it is not installable
                Depends: libx265-192 (>= 3.2) but it is not installable
E: Unable to correct problems, you have held broken packages.

I understand if it's not compatible with Bookworm yet.

jmcerrejon commented 6 months ago

@foxhound311 rescue me!

jmcerrejon commented 6 months ago

It seems the issue is due RetroArch and lib deps from RPi OS 64-bit I can't handle. We need to wait for the guys to update the repository. I'll let the issue opened to remember this problem.

Silent-Hunter commented 6 months ago

Bookworm seems to be using the newer libavcodec59 instead of libavcodec58. Wouldn't that mean building retroarch against libavcodec59?

jmcerrejon commented 6 months ago

Bookworm seems to be using the newer libavcodec59 instead of libavcodec58. Wouldn't that mean building retroarch against libavcodec59?

Maybe @foxhound311 can check it out