-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 18.04, failed to open Beetle PSX HW core (version `GLIBCXX_3.4.26' not found) #43
Comments
yes, this is a known mismatch between the system building the snaps (based on xenial) and the one in our infrastructure that's building the libs (based on bionic). It will resolve itself relatively soon, once the snapcraft infrastructure dumps xenial for bionic (I believe this is supposed to happen in April?) We had discussed trying to configure an older VM for building cores, but I believe that plan was discarded (some combination of difficulty/hassle and the also being used to build some things that require the newer version, IIRC). |
Thanks for that update, @hizzlekizzle. So if I understand correctly, As a separate question, why are there so many copies of libstdc++ in the snap layout? I assume that the Thanks for your help! |
I don't really know, tbh. I just know they purposely build everything on the oldest LTS they can, for maximum compatibility with whichever random distro someone might be using, but it bites us in this case because our cores are built against something newer. It's admittedly a niche use-case, so I can't really blame the snap folks for the problem (it happens with centrally-built flatpak and appimage packages, too). You might try our official appimage package to see if that treats you any better, though. |
Hi @exerf , I just pushed this - libretro/beetle-psx-libretro@4d97452 after the buildbot is done with this, I will give you a link to an artifact (basically the core with these changes), and you can check then if it works on your RetroArch Snap version. |
Try these - this is the x64 beetle psx hw version - https://git.libretro.com/libretro/beetle-psx-libretro/-/jobs/183529/artifacts/download This is the x86 beetle psx hw version - https://git.libretro.com/libretro/beetle-psx-libretro/-/jobs/183530/artifacts/download |
works for me, yeah |
Oh wow, thank you @twinaphex! I'll try this out shortly. |
Yay, it works! Thank you SO MUCH, @twinaphex! 🎮 🎉 |
@exerf please close this issue. |
Sorry for the delay, @gouchi. I didn't see your message until now. |
I have retroarch snap (1.9.0) installed on Ubuntu 18.04.
I recently installed the Beetle PSX HW core from within retroarch. However, the core fails to load. The retroarch log contains the following:
Using the
locate
utility, I'm able to find various installations oflibstdc++.so.6
, including:I'm assuming that, similar to what @hizzlekizzle explained in issue #41, the problem is that the version of libstdc++ compiled/linked into snap is too old. Running the
strings
utility on these libraries suggests that the latest supported version is GLIBCXX_3.4.25:(The output is the same for
/snap/retroarch/423/usr/lib/x86_64-linux-gnu/libstdc++.so.6
.)Is it possible for me to upgrade libstdc++ in snap?
Would upgrading to Ubuntu 20.04 help? I'd prefer not to do this yet, but if it is beginning to get in the way of running retroarch, then I may do that sooner rather than later.
For the record, the Beetle PSX core runs fine.
The text was updated successfully, but these errors were encountered: