Skip to content

AppImage file won't execute on Ubuntu: "AppImages require FUSE to run." #18633

Closed

Description

@Flimm

Issue type

Other type of issue

Bug description

It looks like this version of MuseScore was compiled using an old version of AppImage. Because of this, it won't launch on Ubuntu 23.04. Newer versions of AppImage support newer versions of Ubuntu, like 23.04. For more information, read this article and its comments.

Steps to reproduce

I downloaded the MuseScore application for Linux, in the AppImage format, from the website (link). I made the file executable, and then I attempted to run it. Nothing happened. I'm running Ubuntu 23.04.

I attempted to run it from the terminal, and this is the error message that I saw:

$ ./MuseScore-4.1.0.231921359-x86_64\(1\).AppImage 
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

Screenshots/Screen recordings

No response

MuseScore Version

OS: Ubuntu 23.04, Arch.: x86_64, MuseScore version (64-bit): 4.1.0-231921359, revision: github-musescore-musescore-2e3a93a

Regression

I don't know

Operating system

Ubuntu 23.04 (x86_64)

Activity

  1. added
    needs review
    on Jul 16, 2023
  2. bkunda commented on Jul 17, 2023

    @bkunda

    @igorkorsukov @shoogle when you get time can you please provide your assessment about what would be required to address this? Thanks!

  3. added
    needs info
    on Jul 17, 2023
  4. ydalton commented on Jul 17, 2023

    @ydalton

    Last time I heard AppImages still required libfuse2 in order to run. The article you linked doesn't say anything about AppImages using libfuse3, and it even tells you to install libfuse2 to get AppImages working. I could be wrong, though.

  5. AntonioBL commented on Jul 18, 2023

    @AntonioBL
    Contributor

    From what I see, there are two versions of appimagetool at the moment: the "classic" one, distributed in the Github repository AppImage/AppImageKit, and a new static-build one from the repository AppImage/appimagetool (this repository was created 3 weeks ago).
    MuseScore is using the up-to-date "classic" version of appimagetool, see here, but it could switch to the static version by chagning the repository at that line (maybe also a coouple of other changes in the packaging script). This new version is still probably labelled as experimental, but it should work without the additional libfuse2 dependency.

  6. diedeno commented on Jul 23, 2023

    @diedeno
    Contributor

    This was already the case with Ubuntu 22.04
    see https://musescore.org/en/node/339543
    Just install libfuse2

  7. AntonioBL commented on Jul 24, 2023

    @AntonioBL
    Contributor

    @Flimm : you can try to see if the following test AppImage of master branch works even without libfuse2:
    https://github.com/AntonioBL/MuseScore/suites/14517667739/artifacts/821079092
    (the zip archive contains the test AppImage and other folders that are not needed: you can delete them)
    I swapped the old appimagetool with the newer one, and the resulting AppImage should have all the required libraries (e.g. libfuse2) statically linked.

  8. Flimm commented on Jul 24, 2023

    @Flimm
    Author

    Thanks @AntonioBL . The download you provided worked on my system, which doesn't have libfuse2 installed.

  9. AntonioBL commented on Jul 24, 2023

    @AntonioBL
    Contributor

    @Flimm : thank you for testing.
    I will thus proceed with a pull request

  10. Flimm commented on Jul 28, 2023

    @Flimm
    Author

    The latest release ./MuseScore-4.1.1.232071203-x86_64.AppImage that was released two days ago still has this problem.

  11. AntonioBL commented on Jul 28, 2023

    @AntonioBL
    Contributor

    @Flimm : indeed, the new AppImage format is used at the moment only in master branch (i.e. future 4.2 version).
    However, there seem to be some problem with the new format, see #18830
    I suspect it could be an interaction between the AppImageLauncher and the AppImage itself.

  12. shoogle commented on Jul 31, 2023

    @shoogle
    Contributor

    Sadly we had to revert this fix. See #18830 (comment) for an explanation.

    Feel free to re-open this issue when TheAssassin/AppImageLauncher#585 has been resolved upstream.


    In the meantime, when Ubuntu users see this 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
    

    The workaround is:

    sudo add-apt-repository universe   # only needed in minimal environments (e.g. Docker, Live USB, etc.)
    sudo apt install libfuse2
  13. worldwideweary commented on Aug 1, 2023

    @worldwideweary
    Contributor

    FWIW, by proxy, looks like Linux Mint will also have this problem...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

needs infoneeds review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions