$ uname -a
Linux xhost10.bcgsc.ca 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
$ /sbin/ldconfig --version
ldconfig (GNU libc) 2.5
I am installing several binaries and libraries locally, since I do not have root access.
Some of the programs need to dynamically link to a shared library in a non-standard location at runtime.
When executed, the program returns:
$ path/to/cc1
path/to/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory
I've added paths to the libraries $LD_LIBRARY_PATH
, but I cannot update the ldconfig
cache without root access...
Is there a user-specific /etc/ld.so.cache
?
Or more generally, is it possible on to 'mask' a system configuration file with a user configuration file?