Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

libgthread-2.0.so.0: cannot open shared object file: No such file or directory

sudo apt-get update
sudo apt-get install libglib2.0-0
Comment

libGLU.so.1: cannot open shared object file: No such file or directory

sudo apt-get install libglu1
Comment

Importerror: libgl.so.1: cannot open shared object file: no such file or directory

RUN apt-get update
RUN apt-get install ffmpeg libsm6 libxext6  -y
Comment

libgit2.so.1.1: cannot open shared object file: No such file or directory

#arch
pacman -S libgit2
#deb
apt-get install libgit2
Comment

libf77blas.so.3: cannot open shared object file: No such file or directory

sudo apt-get install libatlas-base-dev
Comment

libopenslide.so.0: cannot open shared object file: No such file or directory

sudo apt-get install openslide-tools
sudo apt-get install python-openslide
pip install openslide-python
Comment

ImportError: libpng12.so.0: cannot open shared object file: No such file or directory

sudo apt-get install libpng12-0
Comment

Importerror: libgl.so.1: cannot open shared object file: no such file or directory

RUN apt-get update && apt-get install -y python3-opencv
RUN pip install opencv-python
Comment

libnss3.so: cannot open shared object file: No such file or directory

sudo apt install libgconf-2-4 libatk1.0-0 libatk-bridge2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libgbm-dev libnss3-dev libxss-dev
Comment

libGL.so.1: cannot open shared object file: No such file or directory

RUN apt-get update ##[edited]
RUN apt-get install ffmpeg libsm6 libxext6  -y
Comment

ImportError: libjasper.so.1: cannot open shared object file: No such file or directory

pip3 install opencv-contrib-python; sudo apt-get install -y libatlas-base-dev libhdf5-dev libhdf5-serial-dev libatlas-base-dev libjasper-dev  libqtgui4  libqt4-test
Comment

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/
Comment

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.<yournvidia.version> libcuda.so.1
Comment

error while loading shared libraries: libmod2.so: cannot open shared object file: No such file or directory

One of the solution is to use

export LD_LIBRARY_PATH=PATH_TO_LIBRARY_LIBMOD2



1. You check the path of libmod2.so

2. Replace in place of PATH_TO_LIBRARY_LIBMOD2

Note: Don't add the filename. It just needs the path.
Comment

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/
Comment

ImportError: libffi.so.6: cannot open shared object file: No such file or directory

$ curl -LO http://archive.ubuntu.com/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_amd64.deb

$ sudo dpkg -i libffi6_3.2.1-8_amd64.deb
Comment

libelf.so.1: cannot open shared object file: No such file or directory

sudo apt update
sudo apt install libelf-dev
Comment

PREVIOUS NEXT
Code Example
Shell :: screen recorder linux 
Shell :: add all files in directory to git 
Shell :: Brew was unable to install [php@7.1]. 
Shell :: list all the emulator 
Shell :: yarn global package not found 
Shell :: kubectl restart deployment 
Shell :: bash: pipe all out and error to file 
Shell :: install virtual environment ubuntu 
Shell :: check how much memory linux 
Shell :: device or resource busy 
Shell :: git commit --amend choose editor 
Shell :: java check jre version 
Shell :: how to install rust wsl zsh 
Shell :: increment variable in batch file 
Shell :: https host ngrok 
Shell :: trojitá ubuntu 
Shell :: reactjs capacitor init 
Shell :: alpine linux install lsof 
Shell :: yarn archlinux 
Shell :: extract a tar.xz file linux 
Shell :: git remove current pull 
Shell :: bluetooth headphone not working linux mint 
Shell :: ubuntu open directory from terminal 
Shell :: notepad++ kali 
Shell :: cpanel webdav windows 
Shell :: install python3 raspberry pi 
Shell :: test ssh connection 
Shell :: gcloud disable interactive prompts 
Shell :: know if your computer uses mesa 
Shell :: install gh ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =