When I load a particular version of Python on a server, I get the following error:
python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
ldd shows that the file is available and the only surprising thing about it is the permissions, which are as follows:
From the S I conclude that, probably by accident, setgid has been called on the file. But I am also a member of the group that owns the file. Shouldn't I be able to get Python to run in this case, even if non-group members can't?
Python is being loaded by an environment module which does the following:
prepend-path PATH /path/to/python/2.7.9/bin prepend-path MANPATH /path/to/python/2.7.9/share/man prepend-path PYTHONPATH /path/to/python/2.7.9/lib/python2.7/site-packages:/path/to/spss/22/Python/lib/python2.7/site-packages prepend-path LD_LIBRARY_PATH /path/to/python/2.7.9/lib