-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnsatisfiedLinkError of libjnitensorflow.dylib #335
Comments
It works fine here on Yosemite. What version of Mac OS X are you using? |
It's Mac OS X v10.11.6. According to the cppbuild.sh of tensorflow, I think only gpu version is supported, is it right? My computer doesn't have any GPU, so I build tensorflow cpu version. I wonder it is the reason or not. And should I install tensorflow through cppbuild.sh? |
No it's not related. I'm pretty sure it's just because your shaded JAR files contains the wrong version of the library. |
I built it as a same way on ubuntu, it works. I'm not sure because I installed tensorflow v0.11 using pip install. |
Yes, you have an old version somewhere. |
Hi, @saudet , I got a same linking error when I used version 0.11.0-1.3 in maven. Full error messages are as follows: |
I can't reproduce that on my system, but the install name of the library is
obviously wrong. This is a bug in TensorFlow, so please report upstream.
Thank you!
|
OK, thanks for replying! |
is there a workaround ? |
* Work around issues with TensorFlow on some versions of Mac OS X (issue #335)
@lefromage Yes, I included a workaround here until they decide to fix this upstream somewhere: |
Thanks @saudet for those still using 0.11.0-1.3 the workaround on mac or linux git clone -b v0.11.0 --recurse-submodules https://github.com/tensorflow/tensorflow tensorflow-v0.11.0 edit and replace in ./tensorflow/workspace.bzl , zlib-1.2.8 code block with zlib-1.2.11native.new_http_archive( ./configure |
Just renaming |
This is an issue I am having with mac, linux and windows :( |
@alistairstead3408 Please use the pom.xml file provided here: |
Resolved in binaries just released for version 1.0.0: |
There is a linking error in tensorflow. I used maven and I added below to the pom.xml
My platform is macosx-x86_64. Is there anything that I missed?
Full error messages are here.
The text was updated successfully, but these errors were encountered: