Tensorflow can't find libcuda.so (CUDA 7.5)
<p>I've installed CUDA 7.5 toolkit, and Tensorflow inside anaconda env. The CUDA driver is also installed. The folder containing the <code>so</code> libraries is in <code>LD_LIBRARY_PATH</code>. When I import tensorflow I get the following error:</p>

<blockquote>
  <p>Couldn't open CUDA library libcuda.so. LD_LIBRARY_PATH:
  /usr/local/cuda-7.5/lib64</p>
</blockquote>

<p>In this folder, there exist a file named <code>libcudart.so</code>  (which is actually a symbolic link to <code>libcudart.so.7.5</code>). So (just as a guess) I created a symbolic link to <code>libcudart.so</code> named <code>libcuda.so</code>. Now the library is found by Tensorflow, but as soon as I call <code>tensorflow.Session()</code> I get the following error:</p>

<blockquote>
  <p>F tensorflow/stream_executor/cuda/cuda_driver.cc:107] Check failed: f
  != nullptr could not find cuInitin libcuda DSO; dlerror:
  /usr/local/cuda-7.5/lib64/libcudart.so.7.5: undefined symbol: cuInit</p>
</blockquote>

<p>Any ideas?</p>