I am trying to install caffe on my ubuntu 14.04 and I follow these instructions: http://caffe.berkeleyvision.org/installation.html#compilation
In short: i get this error: /usr/bin/ld: cannot find -lcudnn, when trying to compile using "make all" like it says on the instructions on the caffe website.
background:
While installing, I got to the part of compilation and when I tried "make all" it gave me an error of: "cannot find cudnn.h file" - I solved it by downloading that file from nvidia website and copying it to /usr/local/cuda-8.0/include. Then I tried "make all" one more time and I got this recent error:
/usr/bin/ld: cannot find -lcudnn collect2: error: ld returned 1 exit status make: *** [.build_release/lib/libcaffe.so.1.0.0] Error 1
Please help
libcudnn.so? If it's not installed, install it and its headers. Otherwise, find its directory, add it (directory name) in/etc/ld.so.confand executeldconfig. Then try to make again. - Michael O.libcudnn.so: Ubuntu 17.04 has libcaffe-cuda-dev,caffe-cudaetc. packages.ubuntu.com/… , not available for 14.04, 16.04 . ... CUDA : the Nvidia website . - Knud Larsen