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

1

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

sudo apt-get install libglu1
Posted by: Guest on July-13-2021
2

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.
Posted by: Guest on June-15-2021
0

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/
Posted by: Guest on April-06-2020
-1

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/
Posted by: Guest on March-30-2020
0

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
Posted by: Guest on September-12-2020

Code answers related to "ImportError: libffi.so.6: cannot open shared object file: No such file or directory"

Browse Popular Code Answers by Language