Error while loading shared libraries: libcudart.so
作者:XD / 发表: 2022年11月30日 06:31 / 更新: 2022年11月30日 06:32 / 编程笔记 / 阅读量:1845
Error while loading shared libraries: libcudart.so.11.0: cannot open shared object file: No such file or directory
Step 1: locate libcudart.so.11.0
find / -name 'libcudart.so.11.0'
Step 2: add the found path "/usr/local/cuda-11.3/targets/x86_64-linux/lib/libcudart.so.11.0"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-11.3/targets/x86_64-linux/lib