evince thinks libsm missing if on different mount/filesystem

Bug #1297105 reported by Jan Groenewald
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
New
Undecided
Unassigned

Bug Description

Reference:
http://askubuntu.com/questions/372050/can-not-run-evince-says-shared-library-is-missing

$ evince
evince: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory

However libSM is there, and other applications using can find and open it (e.g. gv)

We had this issue on a 32bit Ubuntu 12.04.3, with

/ mounted ext4
/usr1 mounted ext3
and /usr/lib a symbolic link to /usr1/lib
(along with a few other directories in /usr being symlinks to directories residing in /usr1)

The problem disappeared when removing the symlink and moving /usr1/lib into /usr

Previously:

strace:
open("/usr/lib/i386-linux-gnu/libSM.so.6", O_RDONLY|O_CLOEXEC) = -1
EACCES (Permission denied)

and

ltrace:
SYS_open("/usr/lib/i386-linux-gnu/libSM.so"..., 524288, 00) = -13
SYS_stat64(0xbfccdbb0, 0xbfccdc40, 0xb7713ff4, 16, 0xb76f0064) = 0

Revision history for this message
Jan Groenewald (jan-aims) wrote :
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.