libffi.so.7: cannot open shared object file: No such file or directory code example
Example 1: Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory
sudo apt-get install libatlas-base-dev
Example 2: 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
Example 3: 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