You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Link to README.md is broken in NativeLibrary.java #11015
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot find TensorFlow native library for OS: linux, architecture: x86_64. See https://github.com/tensorflow/tensorflow/tree/master/java/README.md
for possible solutions (such as building the library from source). at org.tensorflow.NativeLibrary.load(NativeLibrary.java:66) at org.tensorflow.TensorFlow.init(TensorFlow.java:36) at org.tensorflow.TensorFlow.<clinit>(TensorFlow.java:40) at org.tensorflow.Graph.<clinit>(Graph.java:194) at HelloTF.main(HelloTF.java:8)
That said, looking at your erro message it seems that ti cannot find the native library. Can do run the following commands to help verify what might be missing in your setup?
ls ~/jni
file ~/jni/*
Alternatively, if it makes sense for you, I'd suggest using a build tool like maven or gradle or something as that will involve much less command-line tweaking. See instructions on the website for maven, or if you use other build tools (like gradle), then see the corresponding dependency information section here
Activity
asimshankar commentedon Jun 23, 2017
Thanks for the report, I'll update the link (the correct link is https://github.com/tensorflow/tensorflow/tree/master/tensorflow/java/README.md)
That said, looking at your erro message it seems that ti cannot find the native library. Can do run the following commands to help verify what might be missing in your setup?
Alternatively, if it makes sense for you, I'd suggest using a build tool like maven or gradle or something as that will involve much less command-line tweaking. See instructions on the website for maven, or if you use other build tools (like gradle), then see the corresponding dependency information section here
rola93 commentedon Jun 23, 2017
Thanks! I solved it giving the correct path to jni 😄
tatatodd commentedon Jun 24, 2017
Cool, looks like this issue is resolved, so I'm closing it out.
tatatodd commentedon Jun 24, 2017
Oops I spoke too soon; the real problem is fixed, but this issue is about fixing the README link. :)
Branch 160346151 (#11094)
asimshankar commentedon Jun 28, 2017
Closing this as it's been fixed in 4cc3525
Branch 160346151 (tensorflow#11094)