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

AppImage only works on latest ubuntu due to GLIBC requirement #204

Open
slrslr opened this issue Nov 25, 2024 · 12 comments
Open

AppImage only works on latest ubuntu due to GLIBC requirement #204

slrslr opened this issue Nov 25, 2024 · 12 comments
Labels
bug Something isn't working GUI Related to the Tauri GUI linux only Only applies to Linux

Comments

@slrslr
Copy link

slrslr commented Nov 25, 2024

Describe the bug

It appears that the latest AppImage fails to work on stable version of Debian (12):

./UnstoppableSwap_1.0.0-rc.6_amd64.AppImage

unstoppableswap-gui-rs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /tmp/.mount_UnstopT9v551/usr/lib/libwebkit2gtk-4.1.so.0)
unstoppableswap-gui-rs: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by /tmp/.mount_UnstopT9v551/usr/lib/libwebkit2gtk-4.1.so.0)
unstoppableswap-gui-rs: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_UnstopT9v551/usr/lib/libwebkit2gtk-4.1.so.0)

https://packages.debian.org/bookworm/libc6

Platform (please complete the following information):

Software Version 1.0.0-rc.6_amd64
System:
  Kernel: 6.1.0-27-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/vmlinuz-6.1.0-27-amd64
    ro quiet
  Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.8 wm: kwin_x11 dm: SDDM
    Distro: Debian GNU/Linux 12 (bookworm)
@binarybaron binarybaron changed the title 1.0.0-rc.6_amd64.AppImage on Linux Debian 12: GLIBC_* not found AppImage only works on latest debian due to GLIBC requirement Nov 25, 2024
@binarybaron binarybaron added bug Something isn't working GUI Related to the Tauri GUI linux only Only applies to Linux labels Nov 25, 2024
@binarybaron
Copy link

This is a known issue but thanks for the report. You'll need to use to latest debian / ubuntu version. We are looking into also supporting older distros but this is currently blocked due to a bug in WebKit.

See: gitbutlerapp/gitbutler#5282 (comment)

@slrslr
Copy link
Author

slrslr commented Nov 25, 2024

use to latest debian / ubuntu version

I assume that you mean unstable, testing OS. I prefer stable OS, You should rather support latest stable versions of the GNU/Linux. There is also no released .deb file (You have mentioned why). Do I have any other option to run the app?

Following does NOT contain any other Linux instructions:
https://docs.unstoppableswap.net/getting_started/install_instructions
https://github.com/UnstoppableSwap/core/blob/master/docs/pages/getting_started/install_instructions.mdx

@binarybaron
Copy link

use to latest debian / ubuntu version

I assume that you mean unstable, testing OS. I prefer stable OS, You should rather support latest stable versions of the GNU/Linux. There is also no released .deb file (You have mentioned why). Do I have any other option to run the app?

Following does NOT contain any other Linux instructions: https://docs.unstoppableswap.net/getting_started/install_instructions https://github.com/UnstoppableSwap/core/blob/master/docs/pages/getting_started/install_instructions.mdx

Ubuntu 24.04 is stable and will work.

@billbeans
Copy link

Hello, I just found out about UnstoppableSwap today and I use Debian 12. I have the same issue, and the latest AppImage I'm actually able to run is v1.0.0-rc.2. Is this safe? I really don't feel like installing an Ubuntu VM for one app

@binarybaron
Copy link

Hello, I just found out about UnstoppableSwap today and I use Debian 12. I have the same issue, and the latest AppImage I'm actually able to run is v1.0.0-rc.2. Is this safe? I really don't feel like installing an Ubuntu VM for one app

It's safe to use but it'll not route your traffic over tor because this was added in 1.0.0-rc.6.

@binarybaron
Copy link

use to latest debian / ubuntu version

I assume that you mean unstable, testing OS. I prefer stable OS, You should rather support latest stable versions of the GNU/Linux. There is also no released .deb file (You have mentioned why). Do I have any other option to run the app?
Following does NOT contain any other Linux instructions: https://docs.unstoppableswap.net/getting_started/install_instructions https://github.com/UnstoppableSwap/core/blob/master/docs/pages/getting_started/install_instructions.mdx

Ubuntu 24.04 is stable and will work.

@slrslr What's your glibc version? Try running one of these commands:

ldd --version
getconf GNU_LIBC_VERSION
strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC

@slrslr
Copy link
Author

slrslr commented Nov 26, 2024

What's your glibc version

$ ldd --version
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
ldd (Debian GLIBC 2.36-9+deb12u9) 2.36

$ getconf GNU_LIBC_VERSION
glibc 2.36

strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC

@Botspot
Copy link

Botspot commented Nov 29, 2024

This ought to work on more than just Debian Testing. It ought to work on Debian stable.

@binarybaron
Copy link

Can you guys test the .deb image of the latest release?

https://github.com/UnstoppableSwap/core/releases/tag/1.0.0-rc.9

@slrslr
Copy link
Author

slrslr commented Dec 4, 2024

@binarybaron

"test the .deb image"

It installed and launched on my stable Debian (12) amd64. Though there were some error/s. One was in the UI: "Failed to connect to public registry (xhr poll error)"

Full terminal output: https://pastebin.com/XJapfvKL

Also when you search for "rc." it looks to be suggesting and warning about old (rc1 as latest version, which is now not latest per my understanding).

UPDATE: after messing with it a bit more, I have found the app launcher menu has two launchers for the app (with same name :-/) in the properties I have found one is rs/rust. The rust one launches without error. As seen under the link above, on the top, i have 2 packages. So I have removed older one (unstoppableswap-gui/now 0.6.4 amd64 [installed,local]): sudo apt purge unstoppableswap-gui

@binarybaron binarybaron changed the title AppImage only works on latest debian due to GLIBC requirement AppImage only works on latest ubuntu due to GLIBC requirement Dec 5, 2024
@binarybaron
Copy link

@binarybaron

"test the .deb image"

It installed and launched on my stable Debian (12) amd64. Though there were some error/s. One was in the UI: "Failed to connect to public registry (xhr poll error)"

Full terminal output: https://pastebin.com/XJapfvKL

Also when you search for "rc." it looks to be suggesting and warning about old (rc1 as latest version, which is now not latest per my understanding).

UPDATE: after messing with it a bit more, I have found the app launcher menu has two launchers for the app (with same name :-/) in the properties I have found one is rs/rust. The rust one launches without error. As seen under the link above, on the top, i have 2 packages. So I have removed older one (unstoppableswap-gui/now 0.6.4 amd64 [installed,local]): sudo apt purge unstoppableswap-gui

The old GUI should display a warning to update to 1.0.0-rc.1. All subsequent releases will only be picked up by the new auto updater in the new GUI (> 1.0.0-rc.1).

Did I understand correctly that the new GUI is working on your machine?

@slrslr
Copy link
Author

slrslr commented Dec 5, 2024

new GUI is working on your machine?

yes, it launched without error, i did no configuration or swap since there is no maker with acceptable markup fee.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GUI Related to the Tauri GUI linux only Only applies to Linux
Projects
None yet
Development

No branches or pull requests

4 participants