AppImage won't run from Linux(Beta) command line (file missing components ?)
MuseScore-3.2.3-x86_64.AppImage (downloaded evening of 7/28/19)
Acer Chromebook 15 (CB3-532)
Chrome OS Version 75.0.3770.144 (Official Build) (64-bit), stable channel
Linux (Beta) last updated morning of 7/29/19
Have installed fuse from command line: sudo apt-get install fuse
Receive errors on attempting to run MuseScore from command line:
rjbarthine@penguin:~$ ./MuseScore-3.2.3-x86_64.AppImage
/tmp/.mount_ihLoOI/AppRun: line 15: ldconfig: command not found
Jack does not appear to be installed. That's OK, we'll use a dummy version instead.
/tmp/.mount_ihLoOI/bin/mscore-portable: error while loading shared libraries: libvorbisfile.so.3: cannot open shared object file: No such file or directory
rjbarthine@penguin:
Does this mean that the AppImage file is missing ldconfig and libvorbisfile?
Thanks,
-rb
Comments
ldcongih is in /sbin, that though is not in PATH for mere mortal users on some distributions, issue is known and fix in the works (see https://musescore.org/en/node/292473). Workaround for now: add /sbin to PATH. e.g.:
PATH=$PATH:/sbin ./MuseScore-3.2.3-x86_64.AppImage
That won't fix the missing libvorbisfile.so.3 issue though... Guess you'd need to find and install that.
In reply to ldcongih is in /sbin, that… by Jojo-Schmitz
Thanks so much. I'll amend PATH as you suggest.
(Note: I was typing the comment posted at 17:40 while you replied.)
In reply to ldcongih is in /sbin, that… by Jojo-Schmitz
I installed the missing library (sudo apt-get install libvorbisfile3) and added /sbin to PATH.
MuseScore launched- although with a few error messages I don't understand, shown below.
Now the program will minimize to the task bar, but won't close. That's OK for now, while I explore MuseScore basics.
Thanks for your help
rjbarthine@penguin:~$ PATH=$PATH:/sbin ./MuseScore-3.2.3-x86_64.AppImage
Jack appears to be installed on this system, so we'll use it.
QApplication: invalid style override passed, ignoring it.
[1510:1564:0729/130442.685712:ERROR:object_proxy.cc(583)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[1510:1564:0729/130442.688600:ERROR:object_proxy.cc(583)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
In reply to I installed the missing… by rjbarthine
Thanks for this.
> Jack appears to be installed on this system, so we'll use it.
That's good.
> QApplication: invalid style override passed, ignoring it.
You can ignore that one too.
> Failed to call method: org.freedesktop.UPower.GetDisplayDevice
I've not seen this error before, but UPower appears to be a power management program for Linux. Other programs can query UPower to find out the current power state (e.g. plugged-in or battery) and adjust their power consumption accordingly. For example, a program might decide to check for updates less often to save power when on battery mode, and stop checking entirely if the battery level falls below 30%.
It's unlikely that a consumer application like MuseScore would do anything about power management, as you generally want the program to work the same regardless of your battery state. However, it is possible that MuseScore requests some other service from the operating system, and that other service does something about power management, hence UPower is called. Or maybe UPower provides some features that are not strictly to do with power management.
I see UPower mentioned in threads about the Chromium browser. The "Online Community" area in MuseScore's Start Center is basically a mini webpage that is rendered with WebEngine, a Chromium-based Qt module.
You could try:
-w
option to disable the webview in the Start Centersudo apt-get install upower
, there might be more steps required after this, like a reboot. I don't know)Now, I would have expected everything to carry on working without UPower installed, just without any power optimization, but I guess it depends on the features used.
Upon further reading, I tried running the AppImage as the root user.
Closer, but no joy. Still floundering around.
rjbarthine@penguin:~$ sudo -s
root@penguin:/home/rjbarthine# ./MuseScore-3.2.3-x86_64.AppImage
Jack appears to be installed on this system, so we'll use it.
/tmp/.mount_xhz1mA/bin/mscore-portable: error while loading shared libraries: libvorbisfile.so.3: cannot open shared object file: No such file or directory
root@penguin:/home/rjbarthine# exit
exit
rjbarthine@penguin:~$
It looks like Linux beta on Chrome OS uses a stripped-down version of Debian that doesn't come with the libraries you would expect to find on a normal Debian install.
Try running:
Then try to run the AppImage again.
If it says something else is missing (e.g. another library or
.so
file) then search online for the name of the missing file to find out which package you need to install. Construct your search like this to ensure the most relevant result is returned first:site:packages.debian.org filelist [name of file]
For example, here's what you get if you search for libvorbisfile.so.3. The top result says "File list of package libvorbisfile3/...", so "libvorbisfile3" is the thing you need to install with
apt-get
.In reply to It looks like Linux beta on… by shoogle
Thanks for the info. I happened to bumble upon the right package name to install; much better to know the right way!
In reply to Thanks for the info. I… by rjbarthine
No problem! Do let us know if anything else was needed, or if you run into any other issues running the AppImage on Chrome OS's Linux.
In reply to No problem! Do let us know… by shoogle
Well, as I alluded, MuseScore doesn't close when I click the close button. It does minimize and displays a penguin icon on the task bar when I click the minimize button. Usually, when I click on the icon, MuseScore opens.
Now for the weird part: The AppImage seems to be interfering with the Chrome browser. Since starting to play with MuseScore, I've been getting a lot of "Chrome did not shut down correctly" messages. Weirder still: I just clicked on the penguin icon and, after a few second delay, Chrome opened instead of MuseScore- again with the "did not shut down correctly" message.
This is starting to feel like when I owned a Triumph TR6 and spent more time fixing my car than driving it.
I think maybe I'll just wait until Chrome OS's Linux is out of beta.
In reply to Well, as I alluded,… by rjbarthine
See my comment above about Qt WebEngine being based on Chromium (open source Chrome) and how MuseScore uses this for the webview in the Start Center.
If you run MuseScore with the
-w
option it will disable the webview in the Start Center, and this might make the issue with Chrome go away.Alternatively, if you install UPower (
sudo apt-get install upower
) it might resolve the issue without having to disable the webview. You might need to reboot and/or start UPower running for the first time somehow, I'm not sure.In reply to See my comment above about… by shoogle
I installed UPower and the related error messages have gone away. So far, it seems that the issue with Chrome has also gone away.
Clicking on the X in the upper right corner still does not close the program. Good enough for now.
Thanks for the amazing detective work.