Bitcoin Forum

Bitcoin => Electrum => Topic started by: Dawidxx7 on January 23, 2024, 05:11:00 PM



Title: Electrum appimage does not run on Linux Mint
Post by: Dawidxx7 on January 23, 2024, 05:11:00 PM
I can't run electrum appimage on linux mint.
I have downloaded it and set as executable. When I click it, it doesn't run. When I run via terminal then this error occurs:
Code:
$ ./electrum-4.5.2-x86_64.AppImage 
/tmp/.mount_electr0EmUGL/usr/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/.mount_electr0EmUGL/usr/lib/libpython3.10.so.1.0)
How to solve it?


Title: Re: Electrum appimage does not run on Linux Mint
Post by: BitMaxz on January 23, 2024, 09:21:44 PM
I think this is a compatibility issue according to the error it seems there is no GLIBC_2.28 in your current OS.

Do you mind telling us what is your current version of Linux Mint? You might need to upgrade to the latest version of Linux Mint to install the latest Electrum version.

Or try the tarball guide from this https://electrum.org/#download "installation from python sources"


Title: Re: Electrum appimage does not run on Linux Mint
Post by: Abdussamad on January 24, 2024, 12:05:39 PM
I think this is a compatibility issue according to the error it seems there is no GLIBC_2.28 in your current OS.

The app image is supposed to contain all dependencies. It does not rely on the host OS to meet dependencies.


Title: Re: Electrum appimage does not run on Linux Mint
Post by: ghost43 on January 25, 2024, 04:49:51 AM
I think this is a compatibility issue according to the error it seems there is no GLIBC_2.28 in your current OS.

The app image is supposed to contain all dependencies. It does not rely on the host OS to meet dependencies.
In theory yes, but in practice there are some assumptions for what the host OS has and libc is one of those.
In general with AppImages, the idea is that the developer is supposed to build them on a very old Linux distribution, and users are then able to run them on newer (but not older) distros.

The AppImages for 4.3.2-4.5.2 are built using debian 10 (https://github.com/spesmilo/electrum/blob/522e9485c11e3c75bc3c22ca69edceffdfc57537/contrib/build-linux/appimage/Dockerfile#L1-L5), which ships glibc 2.28 (https://packages.debian.org/buster/libc6).
Debian 10 is already "oldoldstable" at this point, so OP should really upgrade their system.


Title: Re: Electrum appimage does not run on Linux Mint
Post by: ABCbits on January 25, 2024, 10:51:31 AM
Do you mind telling us what is your current version of Linux Mint? You might need to upgrade to the latest version of Linux Mint to install the latest Electrum version.

Looking at linux mint forum[1], i'd guess OP use Linux Mint version 19.1 or older. And it looks like Linux Mint before version 20 already EOL[2].

I think this is a compatibility issue according to the error it seems there is no GLIBC_2.28 in your current OS.

The app image is supposed to contain all dependencies. It does not rely on the host OS to meet dependencies.
In theory yes, but in practice there are some assumptions for what the host OS has and libc is one of those.
In general with AppImages, the idea is that the developer is supposed to build them on a very old Linux distribution, and users are then able to run them on newer (but not older) distros.

The AppImages for 4.3.2-4.5.2 are built using debian 10 (https://github.com/spesmilo/electrum/blob/522e9485c11e3c75bc3c22ca69edceffdfc57537/contrib/build-linux/appimage/Dockerfile#L1-L5), which ships glibc 2.28 (https://packages.debian.org/buster/libc6).
Debian 10 is already "oldoldstable" at this point, so OP should really upgrade their system.

And in general, there's always FUSE[3] and Sandbox[4] problem which affect few Electrum users[5].

[1] https://forums.linuxmint.com/viewtopic.php?t=285707 (https://forums.linuxmint.com/viewtopic.php?t=285707)
[2] https://endoflife.date/linuxmint (https://endoflife.date/linuxmint)
[3] https://docs.appimage.org/user-guide/troubleshooting/fuse.html (https://docs.appimage.org/user-guide/troubleshooting/fuse.html)
[4] https://docs.appimage.org/user-guide/troubleshooting/electron-sandboxing.html (https://docs.appimage.org/user-guide/troubleshooting/electron-sandboxing.html)
[5] https://github.com/spesmilo/electrum/issues/8105 (https://github.com/spesmilo/electrum/issues/8105)


Title: Re: Electrum appimage does not run on Linux Mint
Post by: NotATether on January 25, 2024, 10:59:56 AM
I guess it would depend on what packages Linux Mint 19.1 were built with. If they happen to be even older than the ones in Debian 10, and in particular the glibc package, then no AppImages that are built on it are going to run on the Mint distro. But if they are *equal*, then there is no reason why the AppImage shouldn't run, as the glibc versions are the same. But maybe the patch versions are different, if it even uses those.


Title: Re: Electrum appimage does not run on Linux Mint
Post by: ghost43 on January 25, 2024, 07:47:47 PM
And in general, there's always FUSE[3] and Sandbox[4] problem which affect few Electrum users[5].

[3] https://docs.appimage.org/user-guide/troubleshooting/fuse.html (https://docs.appimage.org/user-guide/troubleshooting/fuse.html)
[4] https://docs.appimage.org/user-guide/troubleshooting/electron-sandboxing.html (https://docs.appimage.org/user-guide/troubleshooting/electron-sandboxing.html)
[5] https://github.com/spesmilo/electrum/issues/8105 (https://github.com/spesmilo/electrum/issues/8105)

Yes, indeed fuse2 is needed atm.
What do you mean by electron-sandboxing (4)? Electrum does not use electron. Do we really need that sysctl? I have never seen a problem with that before.


Title: Re: Electrum appimage does not run on Linux Mint
Post by: ABCbits on January 26, 2024, 08:38:58 AM
And in general, there's always FUSE[3] and Sandbox[4] problem which affect few Electrum users[5].

[3] https://docs.appimage.org/user-guide/troubleshooting/fuse.html (https://docs.appimage.org/user-guide/troubleshooting/fuse.html)
[4] https://docs.appimage.org/user-guide/troubleshooting/electron-sandboxing.html (https://docs.appimage.org/user-guide/troubleshooting/electron-sandboxing.html)
[5] https://github.com/spesmilo/electrum/issues/8105 (https://github.com/spesmilo/electrum/issues/8105)

Yes, indeed fuse2 is needed atm.
What do you mean by electron-sandboxing (4)? Electrum does not use electron. Do we really need that sysctl? I have never seen a problem with that before.

I include electron-sandboxing (4) as example of common AppImage (not Electrum AppImage) problem. Should've explicitly mentioned that.