I'm trying to make work TF
on Mac OS X
. I ran the tutorial how to install it. All went well, the tensorflow library is install in my GOPATH
but I keep getting this error.
/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)
I understand it is something about C
compiler cannot found ltensorflow
library. TF
runs all good with Python2.7
though.
Any ideas how to fix it, please?
EDIT:
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/
this is the output of my paths now, still does not work. The folder GoTensor
contains the pkg
and src
of tensorflow
go package. Is this setup correct?