其他分享
首页 > 其他分享> > Caffe安装问题13_libcudnn.so fileformat not recognized treating as linker script

Caffe安装问题13_libcudnn.so fileformat not recognized treating as linker script

作者:互联网

1 问题

/usr/bin/ld:/usr/local/cuda/lib64/libcudnn.so: file format not recognized; treating as linker script
/usr/bin/ld:/usr/local/cuda/lib64/libcudnn.so:1: syntax error
collect2: error: ld returned 1 exit status
Makefile:582: recipe for target '.build_release/lib/libcaffe.so.1.0.0' failed
make: *** [.build_release/lib/libcaffe.so.1.0.0] Error 1

2 解决方法

sudo rm -rf libcudnn.so libcudnn.so.7


sudo ln -s libcudnn.so.7.0.2 libcudnn.so.7
sudo ln -s libcudnn.so.7 libcudnn.so

标签:treating,13,libcudnn,sudo,ld,so,usr,so.7
来源: https://blog.csdn.net/sdlypyzq/article/details/89966928