Bug 497963 - AppImage fails to run with "dlopen(): error loading libfuse.so.2"
Summary: AppImage fails to run with "dlopen(): error loading libfuse.so.2"
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.2.6
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-28 00:08 UTC by YRH
Modified: 2024-12-28 09:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description YRH 2024-12-28 00:08:41 UTC
This is an issue with Linux distributions that ship with fuse3 instead of fuse2. For example, Ubuntu 24.04. If the Krita appimage is executed on such a system, it will fail with the message:

dlopen(): error loading libfuse.so.2

AppImages require FUSE to run.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information

However, I would consider this a bug for two reasons:

1. FUSE is already installed, just not the version Krita needs
2. For less experienced users, this is completely opaque and the symptom is "Krita doesn't run".
3. If the appimage is executed from the Desktop, there's zero indication what's wrong, the app just does not run.

See this tread for an example: 
https://krita-artists.org/t/can-not-install-krita-on-ubuntu/110345

It seems AppImage can be built in a way that does not depend on runtime dependency. I found this issue addressing this problem:
https://github.com/AppImage/AppImageKit/issues/1120

Ideally, the AppImage should be compatible with old and new distros that use either version of FUSE.
Comment 1 Halla Rempt 2024-12-28 09:04:19 UTC
Dammit... This is bad, because it means that all old appimages will not run, and we can only "fix" this for 5.2.9 -- which we do plan to release in January.