install library in home directory
问题 In Linux(Ubuntu) I am trying to run a tool and it is showing error "library missing". I don't have permission to install anything in the system (or simply sudo is not possible from my user account). Is it possible to install missing library (libstdc++.so.6 in my case) in my home directory (without sudo) and change the environment-variables etc. so that all other tools/programs can find it? 回答1: Yes, assuming the library is in /home/user/lib . You can set use the LD_LIBRARY_PATH environment