I have to install an .so library to a directory in my home directory because I'm not sudo user. I've created the env variable LD_LIBRARY_PATH=/home/<user>/lib/. I have created a directory /home/<user>/lib and I've copied the file libXss.so.1.0.0 and created a sym link to it called libXss.so.1 in that directory but when I launch the program that depends on that library it gives me the error:
error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
libXss.so.1would be a symbolic link tolibXsso.so.1.0.0I think (rather than a separate file)/home/<user>/lib/...as opposed to/home//lib/which would not match to ~/lib of any user, although I suspect this was not what you typed.