java.lang.UnsatisfiedLinkError: no jnind4j in java.library.path

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

When installing an APK, it automatically extracts the libraries of the right arch type and has them available for System.loadLibrary. But, if you're trying to load a non-standard library, the installer won't know your app has 32bit native code.

,

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Compile a 64-bit version of your .dylib file.

Solutions on the web

via GitHub by fac2003
, 1 year ago
no jnind4j in java.library.path
via GitHub by crockpotveggies
, 1 year ago
via GitHub by GrtAndPwrflTrtl
, 1 year ago
via GitHub by rasoolims
, 1 year ago
no jnind4j in java.library.path
via GitHub by mrzl
, 1 year ago
java.lang.UnsatisfiedLinkError: /tmp/javacpp8128481090622289/libjnind4j.so: /usr/lib64/libgomp.so.1.0.0: version `GOMP_4.0' not found (required by /tmp/javacpp8128481090622289/libnd4j.so)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
at java.lang.Runtime.load0(Runtime.java:792)
at java.lang.System.load(System.java:1059)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:709)
at org.nd4j.nativeblas.NativeOps.(NativeOps.java:31)
at org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.(NativeOpExecutioner.java:33)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:5093)
at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:5021)
at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.seed(NeuralNetConfiguration.java:487)
at org.deeplearning4j.examples.convolution.LenetMnistExample.main(LenetMnistExample.java:45)

Users with the same issue

48 times, 3 weeks ago
Once, 1 month ago
Once, 6 months ago
Once, 1 year ago
14 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.