-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[APP BUG]: Debian Bookworm cannot run or compile shadPS4 #2593
Comments
I've been looking at this. The cmake config needs to be reworked since older versions of cmake dont support edit: actually, bookworm ships a newer version of qt that does support that function, but we need would need to build on an older version of glibc and qt. github actions runners support jammy, but those versions are older. im not sure whats the right thing to do here |
Hi Jardon, Thanks for your answer! Not sure if there might be a problem with Qt after the initial compatibility problems are solved, but I think the problem here is more basic, it's the Glibc library that is not compatible (for appImage builds), and the compiler version (I have tried both Clang and C++) are not able to compile the code:
From an appImage perspective, the ideal would be to pack Glibc in it, while for the compiler thing, well, I don't see any easy fix, apparently too modern C++ data type instatiation has been used which is not widely available... |
i'm going to give that a shot. what im not sure about is if that is going to be problematic for other users down the line. at the very least, there needs to be an effort to build on the oldest glibc we can to maximize compatibility |
can you test the linux QT appimage from this run? |
Thanks for the help! It still show the same error, though (also tried the SDL version): Qt:
SDL:
Ubuntu:
|
Also, I have tried launching the program using the same loader version that the program was compiled with, but I get "ELF file ABI version invalid", so not an option either. From reading in forums and documentation, the recommended solution is to build in the oldest system that is to be supported (usually an LTS Ubuntu version), as there is forward compatibility, not necessarily backwards one. Ubuntu 22.04 LTS uses GLIBC 2.35, for instance, and ubuntu 20.04 uses version 2.31. |
yep glibc has forward compatibility (mostly. looking at you 2.41). can you do a: echo $LD_LIBRARY_PATH as well as a: path/to/shadps4.appimage --appimage-extract
ldd path/to/squashfs-root/usr/bin/shadps4 and paste the output here. you can omit the output of the extract command |
Sure! LD_LIBRARY_PATH is empty. As for the ldd command:
Hope this helps. |
Checklist
Describe the Bug
Debian Bookworm (a quite major Linux distribution) does not have a new enough Glibc library to run the precompiled binaries:
Shadps4-qt.AppImage
/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libm.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libcrypto.so.3) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libQt6Gui.so.6)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libm.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libQt6Gui.so.6) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libQt6Network.so.6)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/optional/libstdc++.so.6/libstdc++.so.6) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libglib-2.0.so.0)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libxkbcommon.so.0) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libgssapi_krb5.so.2)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libicui18n.so.74) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libm.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libicui18n.so.74)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libm.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libicuuc.so.74) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libicuuc.so.74)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libpulsecommon-16.1.so) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libdbus-1.so.3)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libkrb5.so.3) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libk5crypto.so.3)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libkrb5support.so.0) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libgomp.so.1)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libsndfile.so.1) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libm.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libsndfile.so.1)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libsystemd.so.0) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libapparmor.so.1)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libgio-2.0.so.0) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libm.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libduktape.so.207)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libduktape.so.207) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libmp3lame.so.0)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libcap.so.2) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libgcrypt.so.20)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libgnutls.so.30) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libldap.so.2)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/liblber.so.2) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libmount.so.1)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libselinux.so.1) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libp11-kit.so.0)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libtasn1.so.6) /tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libsasl2.so.2)/tmp/.mount_ShadpsnYqduq/usr/bin/shadps4: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /tmp/.mount_ShadpsnYqduq/usr/bin/../lib/libblkid.so.1)
Reproduction Steps
Execute Shadps4-qt.AppImage (latest version) in Debian Bookworm (stable or stable+backports).
Expected Behavior
The expectation is that any standard major distribution (Debian Bookworm is the current stable of Debian) should run the appImage, by including all libraries in the appImage, including Glibc. Could that be considered so that more users have access to this program? Compiling is not an option either, as the compiler required is too new for most linux distributions.
Both the C++/Clang compiler and the Glibc libraries are not something that most users will want to tinker with outside their linux distribution provided versions.
Thanks!
Specify OS Version
Debian Bookworm + backports
The text was updated successfully, but these errors were encountered: