error while loading shared libraries: : cannot open shared object file: No such file or directory code example

Example 1: 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/

Example 2: ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory

# ffmpeg 3.4.1
conda install ffmpeg x264=20131218 -c conda-forge

# ffmpeg 4
conda install x264=='1!152.20180717' ffmpeg=4.0.2 -c conda-forge