Unable to launch AppImage (missing libraries probably)

• Nov 1, 2021 - 19:32
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S1 - Blocker
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

Upon launching the AppImage, I get a "symbol lookup error" message and the program terminates immediately, suggesting a missing library.
I already had to install a few packages for the AppImage to be able to run (mainly Qt5 libraries). Not sure if they were supposed to be installed by MuseScore*.AppImage install?
In any way if I am missing a lib it is hard to tell which (the symbol given by the error message is in a libstc++ which I already have; maybe I need to install another Qt 5 package, but which one?).

Technical details:
- Debian 11 (bullseye)
- Linux kernel 5.10
- 64bits
- AppImage obtained from the website, latest available (3.6.2)

Detailed command and error message:
~/.local/bin> ./MuseScore-3.6.2.548021370-x86_64.AppImage
/usr/lib/x86_64-linux-gnu/libjack.so.0
/usr/lib/x86_64-linux-gnu/libnss3.so
/tmp/.mount_MuseScz3UlYm/bin/mscore-portable: symbol lookup error: /tmp/.mount_MuseScz3UlYm/bin/mscore-portable: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev, version Qt_5

Best regards,
K.


Comments

Frequency Once Few

This (or something similar) also happens when trying to run the Snap version on a Ubuntu VM through GitHub Actions.

Run /snap/musescore/228/usr/bin/mscore -j convert_job3.json
  /snap/musescore/228/usr/bin/mscore -j convert_job3.json
  shell: /usr/bin/bash -e {0}
/snap/musescore/228/usr/bin/mscore: symbol lookup error: /snap/musescore/228/usr/bin/mscore: undefined symbol: _ZN15QQmlPropertyMap4initEPK11QMetaObject, version Qt_5

Here's my script, in case it matters.

name: Batch Convert Github Actions Test
run-name: ${{github.actor}} started a batch convert.
on: [push]
jobs:
  Convert:
    runs-on: ubuntu-latest
    steps:
      - name: Set up NodeJS
        uses: actions/setup-node@v3
      - name: Checkout repository
        uses: actions/checkout@v3
      - name: Update apt
        run: sudo apt update
      - name: Install various apt packages so MuseScore works
        run: sudo apt install libportaudio2 libportmidi-dev libpulse-dev libqt5quick5 libqt5xml5 libqt5xmlpatterns5 libqt5printsupport5 libqt5help5 #Why does this need QT? It doesn't have to load the GUI.
      - name: Install MuseScore (Snap)
        run: sudo snap install musescore
      #- run: export $PATH="/snap/musescore/228/usr/bin:$PATH" #Not sure why this isn't working...
      - name: Install MIDIflip (NodeJS)
        run: npm install midiflip
      - name: Prepare JSON file
        run: python batch_convert_linux.py
      - name: Convert MuseScore files
        run: /snap/musescore/228/usr/bin/mscore -j convert_job3.json #So I'm using the absolute path.
      - name: MIDIflip
        run: midiflip midiflip -i "./MIDI/**/*.midi" -o "Output/FlippedMIDI"
Frequency Few Once

Separate issue, you're using snap (and should report this to the snap builder), the OP is using AppImage. Different symbol too