error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory code example
Example 1: utserver: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
cd /etc/apt/
sudo gedit sources.list
deb http://ca.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://ca.archive.ubuntu.com/ubuntu/ bionic universe
deb http://ca.archive.ubuntu.com/ubuntu/ bionic multiverse
run:
sudo apt update
sudo apt install libssl1.0.0
Example 2: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory"
sudo apt-get install libaio1 libaio-dev
Example 3: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
sudo apt-get install libasound2
Example 4: libcusolver.so.9.0: cannot open shared object file: No such file or directory
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64/
Example 5: libcuda.so.1: cannot open shared object file: No such file or directory
ls /usr/lib/x86_64-linux-gnu/libcuda.so.1 -la
nvidia-smi
cd /usr/lib/x86_64-linux-gnu
sudo ln -f -s libcuda.so.<yournvidia.version> libcuda.so.1
Example 6: libcublas.so.9.0: cannot open shared object file: No such file or directory
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64/