问题描述

build/examples/mnist/convert_mnist_data.bin: error while loading shared libraries: libcudart.so.9.2: cannot open shared object file: No such file or directory

解决方法

caffe运行时需要调用cuda的库,我们在/etc/ld.so.conf.d目录下新建一个cafe.conf文件,将所需要用的库的目录写入;

# sudo vi /etc/ld.so.conf.d/caffe.conf
/usr/local/cuda/lib64   /*添加内容并保存退出*/
# sudo ldconfig    /*更新配置*/

参考

1.error while loading shared libraries

相关文章:

  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-04
  • 2021-04-04
  • 2021-09-29
  • 2021-08-29
  • 2022-02-23
相关资源
相似解决方案