libmuse_core.so: cannot open shared object file

Bug #1596486 reported by Jaufré Aligé
8
This bug affects 1 person
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.cmake' which is invoked for all Make packages and sets CMAKE_INSTALL_LIBDIR to include the multiarch path
without the install prefix (ie something like "lib/x86_64-linux-gnu"). This
variable is not defined when building on Debian.

Muse constructs a LIB_INSTALL_DIR variable (when it's not defined) using
CMAKE_INSTALL_LIBDIR or an alternate fallback. Unfortunately later on in the
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_DIR=/usr/lib. Although an Ubuntu specific problem, it does no harm to do this on Debian as well.

[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_PATH=/usr/lib/x86_64-linux-gnu/muse/modules muse

Revision history for this message
Jaufré Aligé (jaufre) wrote :
Revision history for this message
Andrew Pyne (andrew.py) wrote :

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

Revision history for this message
James Cowgill (jcowgill) wrote :

Although this bug is Ubuntu specific, it is fixed in Debian 2.1.2-3 which should make its way into Ubuntu at some point.

Changed in muse (Ubuntu):
status: New → Fix Committed
James Cowgill (jcowgill)
description: updated
description: updated
Revision history for this message
James Cowgill (jcowgill) wrote :
Robie Basak (racb)
Changed in muse (Ubuntu Xenial):
importance: Undecided → High
status: New → Triaged
Revision history for this message
James Cowgill (jcowgill) wrote :

Sponsors,

Fixing this needs two uploads:
 One to sync muse_2.1.2-3 from Debian sid to Ubuntu yakkety.
 The above patch to fix this bug in Xenial.

Mathew Hodson (mhodson)
Changed in muse (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package muse - 2.1.2-3

---------------
muse (2.1.2-3) unstable; urgency=medium

  * Team upload.
  * Force muse modules to be installed under /usr/lib/muse. (LP: #1596486)

 -- James Cowgill <email address hidden> Fri, 02 Sep 2016 12:08:59 +0000

Changed in muse (Ubuntu):
status: Fix Committed → Fix Released
Changed in muse (Ubuntu Xenial):
status: Triaged → In Progress
Changed in muse (Ubuntu Yakkety):
status: New → In Progress
importance: Undecided → High
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

ACK on the debdiff in comment #4. I've applied it with slight version changes to xenial and yakkety so that the upgrade path is preserved. Uploaded for processing by the SRU team.

Thanks!

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Jaufré, or anyone else affected,

Accepted muse into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/muse/2.1.2-2ubuntu0.16.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in muse (Ubuntu Yakkety):
status: In Progress → Fix Committed
tags: added: verification-needed
Changed in muse (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Jaufré, or anyone else affected,

Accepted muse into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/muse/2.1.2-1ubuntu0.16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
James Cowgill (jcowgill) wrote :

Hi,

I've tested muse on xenial and yakkety (2.1.2-1ubuntu0.16.04.1 and 2.1.2-2ubuntu0.16.10.1 respectively). It now starts and I the basic functionality of the program works now. It was done inside two QEMU images.

Thanks for uploading!
James

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package muse - 2.1.2-1ubuntu0.16.04.1

---------------
muse (2.1.2-1ubuntu0.16.04.1) xenial; urgency=medium

  * Force muse modules to be installed under /usr/lib/muse. (LP: #1596486)

 -- James Cowgill <email address hidden> Fri, 02 Sep 2016 13:53:36 +0100

Changed in muse (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for muse has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package muse - 2.1.2-2ubuntu0.16.10.1

---------------
muse (2.1.2-2ubuntu0.16.10.1) yakkety; urgency=medium

  * Force muse modules to be installed under /usr/lib/muse. (LP: #1596486)

 -- James Cowgill <email address hidden> Fri, 02 Sep 2016 13:53:36 +0100

Changed in muse (Ubuntu Yakkety):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.