error while loading shared libraries: libboost_system.so.1.58.0: 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
#add following lines to end of the file and save it
#Bionic support
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: libcuda.so.1: cannot open shared object file: No such file or directory
# See where the link is pointing.
ls /usr/lib/x86_64-linux-gnu/libcuda.so.1 -la
# My result:
# lrwxrwxrwx 1 root root 19 Feb 22 20:40 \
# /usr/lib/x86_64-linux-gnu/libcuda.so.1 -> ./libcuda.so.375.39
# Make sure it is pointing to the right version.
# Compare it with the installed NVIDIA driver.
nvidia-smi
# Replace libcuda.so.1 with a link to the correct version
cd /usr/lib/x86_64-linux-gnu
sudo ln -f -s libcuda.so. libcuda.so.1