Skip to content
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

[Linux Ubuntu 22.04] Builds newer than 2024-09-26 fail to run (GLIBC_2.38 and GLIBC_2.39 not available) #18341

Open
heckert-gamedev opened this issue Oct 21, 2024 · 2 comments
Labels
bug Something isn't working linux

Comments

@heckert-gamedev
Copy link

heckert-gamedev commented Oct 21, 2024

Describe the bug

I found that the CI changes from 2024-09-29 (upgrading to 24.04 build images) broke the Linux version on my machine running Ubuntu 22.04:

~ /Downloads/Ruffles/20240929$ ldd ruffle 
./ruffle: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./ruffle)
./ruffle: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by ./ruffle)
        linux-vdso.so.1 (0x00007ffe1c137000)
        libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x0000767f5cefd000)
        libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x0000767f5f06d000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x0000767f5f04d000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x0000767f5ce16000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x0000767f5ca00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000767f5f0b7000)

The latest version of libc6 for Ubuntu 22.04 (Jammy) is 2.35 and there are no backports either.

The Ruffle binary from the previous build (2204-09-26) runs fine.

Expected behavior

Runtime dependencies are satisfied and Ruffle can be started.

Content Location

This issue is independent of a specific flash file.

Affected platform

Desktop app

Operating system

Ubuntu 22.04 (Jammy Jellyfish)

Browser

No response

Additional information

Initially I was updating to the latest build from 2024-10-20 and only moved to an older version when it didn't start...

@heckert-gamedev heckert-gamedev added the bug Something isn't working label Oct 21, 2024
@kjarosh kjarosh added the linux label Oct 21, 2024
@kjarosh
Copy link
Member

kjarosh commented Oct 21, 2024

Unfortunately, compatibility with glibc is a long-stading and known issue. It's very unlikely we'll be able to provide binaries compatible with every version of every distribution.

We can recommend using the official Flatpak version of Ruffle which guarantees compatibility across different distributions, even those with older versions of glibc: https://flathub.org/apps/rs.ruffle.Ruffle Ruffle will also update automatically when installed through Flatpak.

@heckert-gamedev
Copy link
Author

Right... I had to install the flatpak utility, then define the flathub repository, then install another 2GB of stuff along a nice little 40MB application. And then I had to hunt down where the flatpaked version had its data directory to copy the save files over.

Or I can free up that disk space and keep stuck with the September build (which is about half a year more recent than the one I used before and has quite a few noticeable improvements...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linux
Projects
None yet
Development

No branches or pull requests

2 participants