title: caffe can't find libboost_system.so.166.0
body: <p>I'm installing caffe on an Ubuntu 17.04 system using boost 1.66. I am able to execute <code>make all</code> and <code>make test</code> without problems:</p>
  
  <pre><code>me@icvr1:~/PackageDownloads/caffe$ make all
  make: Nothing to be done for 'all'.
  me@icvr1:~/PackageDownloads/caffe$ make test
  make: Nothing to be done for 'test'.
  </code></pre>
  
  <p>However, when I try <code>make runtest</code>, I get the following error:</p>
  
  <pre><code>me@icvr1:~/PackageDownloads/caffe$ make runtest
  .build_release/tools/caffe
  .build_release/tools/caffe: error while loading shared libraries: libboost_system.so.1.66.0: cannot open shared object file: No such file or directory
  Makefile:532: recipe for target 'runtest' failed
  make: *** [runtest] Error 127
  </code></pre>
  
  <p>Now, I know that <code>libboost_system.so.1.66.0</code> exists in <code>/usr/local/lib</code>, which (I believe) is a fairly standard location:</p>
  
  <pre><code>me@icvr1:~/PackageDownloads/caffe$ ls /usr/local/lib/libboost_system*
  /usr/local/lib/libboost_system.a  /usr/local/lib/libboost_system.so  /usr/local/lib/libboost_system.so.1.66.0
  </code></pre>
  
  <p>and, in caffe's <code>Makefile.config</code>, <code>/usr/local/lib</code> is on the library path:</p>
  
  <pre><code>LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu/hdf5/serial
  </code></pre>
  
  <p>So, what am I missing here? How can I ensure <code>caffe</code> will know where to find <code>libboost_system.so.1.66.0</code> ?</p>