UnstoppableSwap / core

Bitcoin–Monero Cross-chain Atomic Swap (+ GUI)
GNU General Public License v3.0
25 stars 7 forks source link

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

Open slrslr opened 1 day ago

slrslr commented 1 day ago

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 commented 1 day ago

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: https://github.com/gitbutlerapp/gitbutler/issues/5282#issuecomment-2495169664

slrslr commented 1 day ago

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 commented 1 day ago

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 commented 1 day ago

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 commented 17 hours ago

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 commented 16 hours ago

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 commented 15 hours ago

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