Skip to content

🐛 [BUG] - appimage wont work on pop os 22.04 #54

Open

Description

@marcheesed

Description & screenshots

as pop os runs gtk 4.6.9 it cannot interface with required library and fails at launch.
attempted to downgrade gtk in cargo.toml however.. well you wrote the code you know its required for certain gtk classes lmao.

Reproduction steps

try to download and run appimage on pop os, does not work logs below

Logs

C:\home\marcheesed\Downloads> ./samrewritten-gtk.AppImage
./samrewritten-gtk.AppImage: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./samrewritten-gtk.AppImage)
./samrewritten-gtk.AppImage: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by ./samrewritten-gtk.AppImage)

OS

  • Linux
  • Windows

Activity

  1. added
    bug
    on Jul 11, 2026
  2. PaulCombal commented on Jul 13, 2026

    @PaulCombal
    Owner

    Hi,

    This is right indeed, and not documented anywhere, my mistake. I'm targeting compatibility with the before-last version of Ubuntu LTS. This means that since Ubuntu 26.04 dropped, the requirement to run Samrewritten bumped to Ubuntu 24.04. This is important to me to be able to provide a modern looking interface as well as using currently maintained code and protocols.

    It is still possible to use SamRewritten on 22.04 using one of these solutions:

    Let me know if I can do anything else for you

  3. epistulae-ad-infernum-pro-te commented on Nov 28, 2026

    @epistulae-ad-infernum-pro-te

    would it be possible to show some documentation how to compile SamRewritten without appimage or snap requirements?

    im sure its quite possible with the right -dev libraries

    considering how the github workflow is setup to use a docker image
    it doesnt particularly reveal a basic step by step guide as some other workflows do
    https://github.com/PaulCombal/SamRewritten/blob/master/.github/workflows/build_release.yml

    since its just a cargo build, it would be possible to drop the --appimage requirement and build directly

    with this documentation for the make build process it would be possible to run it on other distros and glibc versions
    of course, without any support since its not an official release.

    if i had more interest to test this, i could tinker with some build scripts in an environment to produce a native cargo rust built binary without appimage

  4. PaulCombal commented on Nov 28, 2026

    @PaulCombal
    Owner

    Hi, there's no AppImage requirement, it's a plain cargo build. What prevents running on 22.04 is that the GUI needs GTK 4.14+ and libadwaita 1.5+, while 22.04 ships GTK 4.6 and libadwaita 1.1. Building natively on 22.04 would fail the same way, at the dependency check. On a distro with recent enough GTK, install the gtk4 and libadwaita dev packages plus Rust 1.95+ through rustup, then run cargo build --release (add --features adwaita for the Adwaita UI). On 22.04 itself you can build the CLI version, which doesn't depend on GTK: cargo build --release --no-default-features --features cli. Otherwise the snap and the 1.2.3-legacy release mentioned above still work on 22.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions