title: Cannot find -ltensorflow
body: <p>I'm trying to make work <code>TF</code> on <code>Mac OS X</code>. I ran the tutorial <a href="https://www.tensorflow.org/install/install_go" rel="nofollow noreferrer">how to install it.</a> All went well, the tensorflow library is install in my <code>GOPATH</code> but I keep getting this error.</p>
  
  <pre><code>/usr/local/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
  ld: library not found for -ltensorflow
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>I understand it is something about <code>C</code> compiler cannot found <code>ltensorflow</code> library. <code>TF</code> runs all good with <code>Python2.7</code> though.  </p>
  
  <p>Any ideas how to fix it, please?</p>
  
  <p><strong>EDIT</strong>:</p>
  
  <pre><code>Air-MacBook-Air-Fonzik:GoTensor air$ echo $DYLD_LIBRARY_PATH 
  /Users/air/PycharmProjects/GoTensor/
  Air-MacBook-Air-Fonzik:GoTensor air$ echo $LIBRARY_PATH 
  /Users/air/PycharmProjects/GoTensor/
  Air-MacBook-Air-Fonzik:GoTensor air$ echo $GOPATH
  /Users/air/PycharmProjects/GoTensor/
  </code></pre>
  
  <p>this is the output of my paths now, still does not work. The folder <code>GoTensor</code> contains the <code>pkg</code> and <code>src</code> of <code>tensorflow</code> go package. Is this setup correct?</p>