AppImageCrafters / appimage-builder

GNU/Linux packaging solution using the AppImage format
MIT License
316 stars 58 forks source link

Link fuse2 statically to the AppImage #264

Open yuriymacdev opened 2 years ago

yuriymacdev commented 2 years ago

On newer Ubuntu (22.04.1) libfuse2 is missing by default (it comes with libfuse3), and when the generated appimage is run on a target system, the user is getting an error:

dlopen(): error loading libfuse2.so.2
AppImages require FUSE to run.

the user can run apt install libfuse2 and launch appimage, but this is inconvenient.

Is there a way to instruct appimage-builder to link libfuse2 statically, to avoid such problems on newer ubuntu systems?

mmtrt commented 2 years ago

Try using runtime-fuse2 from static-tools and adjust your recipe to download that to where appimage-builder saves runtime file also rename new runtime to the appimage-builder one.