Yes, if the library is located in /home/user/lib . You can set the environment variable LD_LIBRARY_PATH to find lib. LD_LIBRARY_PATH=/home/user/lib , which will find the library. If you need to compile it yourself, you will want to use configure --prefix=/home/user .
I am surprised that libstdc++.so.6 no longer available on the system. See /usr/lib/x86_64-linux-gnu . If just your program was not multi-archived.
source share