Skip to content

Desktop app: the Linux AppImage does not start on Ubuntu 22.04+ without libfuse2 #2804

Closed

Description

@devswha

What happens

The desktop app's AppImage does not start on a current Ubuntu (26.04 here; 22.04 and later do not install libfuse2 by default). Double-clicking it does nothing visible; from a terminal it says:

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.

It runs with APPIMAGE_EXTRACT_AND_RUN=1 (or after sudo apt install libfuse2t64).

Why

electron-builder's AppImage runtime loads FUSE 2 at run time. Ubuntu 22.04+ ship FUSE 3 only, so a first-time Linux user cannot open the app, and the README's Build section does not mention it.

Expected

The Linux download starts on a stock Ubuntu desktop, or at least the README and the download page tell users to install libfuse2 (libfuse2t64 on 24.04+). Options: a static (type 2, FUSE-3-capable) AppImage runtime, a .deb target beside the AppImage, or documenting the package.

Found while building origin/main b2d9e5d (bun run dist in app/electron) and starting dist/Ovis-0.4.22-x86_64.AppImage on Ubuntu 26.04.1.

Activity

  1. devswha commented on Nov 4, 2026

    @devswha
    OwnerAuthor

    Fixed by #2793 (static AppImage runtime, plus a .deb beside the AppImage); this issue closes with it.

  2. devswha commented on Nov 5, 2026

    @devswha
    OwnerAuthor

    Checked on current main: this no longer reproduces.

    Setup: Ubuntu 26.04.1 LTS with no libfuse2 installed (ldconfig -p lists only libfuse3.so.4), and APPIMAGE_EXTRACT_AND_RUN unset.

    Build tested: Ovis-linux-x64.AppImage from the Beta run 41973775394 at 8489d8d. That commit is on main and includes #2793.

    • The AppImage's runtime (its first 944,632 bytes, directly followed by the hsqs squashfs magic) is the AppImage type2 static runtime (AppImage runtime version: https://github.com/AppImage/type2-runtime/commit/dd6cebe). file reports it as static-pie linked, readelf -d shows no NEEDED entries, and the binary does not contain the string libfuse.so.2.
    • I appended a small squashfs with an AppRun to that exact runtime and ran it on this machine. It mounted through FUSE without extracting and printed APPRUN_OK mounted at /tmp/.mount_mini.AoKPAjp (exit 0). There was no dlopen(): error loading libfuse.so.2.

    The fix is toolsets.appimage: '1.0.3' in app/electron/electron-builder.yml from #2793, and a .deb now ships beside the AppImage. This can close.

  3. devswha commented on Nov 5, 2026

    @devswha
    OwnerAuthor

    Closing: fixed by #2793 - the Linux AppImage now uses the static type2 runtime with no libfuse2 dependency (evidence in the comment above). Please reopen with your distro and app version if it still does not start.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions