Closed sbrunk closed 6 years ago
I compiled TensorFlow (1.5.0-rc1 and 1.5.0 final) myself, like so:
bazel build --config=opt //tensorflow:libtensorflow.so --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0"
Now I get the following error:
...
[error] Caused by: org.platanios.tensorflow.jni.NotFoundException: dlopen(/var/folders/74/y5zh_njx423d78dnjjpg3p300000gn/T/tensorflow_scala_native_libraries5165700860649143930/libtensorflow_ops.so, 6): Symbol not found: __ZN10tensorflow15OpKernelContext10CtxFailureEPKciRKNS_6StatusE
...
If I try to compile the TF Scala project using those TF binaries, I get the same error as @lucaRadicalbit in #71
@sbrunk This has been fixed in the last snapshot and I'll publish a 0.1.1 release tomorrow. :)
Awesome, works like a charm now with the 0.1.1 release. Thanks :)
I just tried to update to 0.1.1-SNAPSHOT on OSX, resulting in the following error:
So I took quick look at the binaries extracted from the jar, and they seem to be Linux binaries:
In fact, it seems both
darwin-cpu-x86_64.jar
andlinux-cpu-x86_64.jar
are identical.0.1.0 works perfectly on OSX, so I guess there's some glitch in the new build process.