libmuse_core.so: cannot open shared object file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
muse (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned | ||
Yakkety |
Fix Released
|
High
|
Unassigned | ||
Zesty |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Since Ubuntu 15.10, muse does not start and gives the following error:
$ muse
muse: error while loading shared libraries: libmuse_core.so: cannot open shared object file: No such file or directory
The fix for this should be backported to Xenial since muse is currently useless "as is".
[Technical Details]
Force muse modules to be installed under /usr/lib/muse
Ubuntu CMake contains the script 'MultiArchCross
without the install prefix (ie something like "lib/x86_
variable is not defined when building on Debian.
Muse constructs a LIB_INSTALL_DIR variable (when it's not defined) using
CMAKE_INSTALL_
script when handling the RPATH settings, Muse assumes that LIB_INSTALL_DIR is an absolute path. This is true on Debian, but not on Ubuntu. This causes a bogus RPATH to be inserted into the main Muse executable which prevents Muse from finding any of it's modules and immediately crashes on startup.
The simple fix is to force LIB_INSTALL_
[Test Case]
From within a terminal window, run "muse". The following error is printed:
muse: error while loading shared libraries: libmuse_core.so: cannot open shared object file: No such file or directory
When working normally, the muse arranger window should appear. If an error
appears about Jack not running, you can ignore it.
[Regression Potential]
Muse is a totally independent application with no reverse dependencies in the archive. Therefore it is unlikely there will be any regressions in other packages.
Since Muse is completely non-functional in Xenial, it's difficult for it to regress any further. :)
[Other Info]
A workaround for this bug is to set the linker path manually when running muse. For example:
LD_LIBRARY_
description: | updated |
description: | updated |
Changed in muse (Ubuntu Xenial): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in muse (Ubuntu): | |
importance: | Undecided → High |
Changed in muse (Ubuntu Xenial): | |
status: | Triaged → In Progress |
Changed in muse (Ubuntu Yakkety): | |
status: | New → In Progress |
importance: | Undecided → High |
libmuse_core.so is here: /usr/lib/ x86_64- linux-gnu/ muse/modules/ libmuse_ core.so
You can start muse with the following workaround:
export LD_LIBRARY_ PATH=:/ usr/lib/ x86_64- linux-gnu/ muse/modules: $LD_LIBRARY_ PATH
muse