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

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

sudo apt-get update && sudo apt-get install espeak
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: 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

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

1- Remove yay by running
$ sudo pacman -R yay

2- Make a new directory and change to it (makes for easier cleanup): 
$ mkdir /tmp/yay && cd /tmp/yay

3- Download the latest PKGBUILD for yay by running 
$ curl -OJ 'https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=yay'

4- Build and install the package by running 
$ makepkg -si

5- Get rid of of the evidence: 
$ rm -rf /tmp/yay
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 :: restart ubuntu 18.04 server 
Shell :: How to install rambox on linux 
Shell :: get podman ubuntu 
Shell :: git push origin master 
Shell :: pesquisar git 
Shell :: vs code terminal open file in separate window 
Shell :: linux get ip by domain 
Shell :: how to exit git rebase 
Shell :: linux adb 
Shell :: install sail into existing laravel 8 project 
Shell :: disable password ssh login 
Shell :: search file in linux terminal 
Shell :: list file in tar archive 
Shell :: create a repo using github api 
Shell :: ffmpeg not installed 
Shell :: uninstall/remove libreoffice from ubuntu 
Shell :: node-sass run 
Shell :: force pull git 
Shell :: ffmpeg cut video without re encoding 
Shell :: bash copy file to directory 
Shell :: shell load file as variable 
Shell :: *** WARNING : deprecated key derivation used 
Shell :: random hex chars bash 
Shell :: bash get value after equal sign 
Shell :: makefile ifeq or 
Shell :: switch to remote branch git 
Shell :: move file from one directory to another sftp 
Shell :: set global git ignore 
Shell :: git update ignore local changes 
Shell :: remove a directory 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =