evince thinks libsm missing if on different mount/filesystem

Bug #1297105 reported by Jan Groenewald on 2014-03-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
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

This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers