Unsatisfied Link Error

Hey guys!

I have visited the FAQ posted on this forum related to the unsatisfied link error by Marco and have tried all the solutions for the type 1 error.

Please have a look at my error message.

Error while loading native library “JCudaRuntime-linux-x86_64” with base name “JCudaRuntime”
Operating system name: Linux
Architecture : amd64
Architecture bit size: 64
Stack trace from the attempt to load the library as a resource:
java.lang.UnsatisfiedLinkError: /tmp/libJCudaRuntime-linux-x86_648989662404191866539.so: libcuda.so.1: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1957)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1882)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1061)
at jcuda.LibUtils.loadLibraryResource(LibUtils.java:166)
at jcuda.LibUtils.loadLibrary(LibUtils.java:80)
at jcuda.runtime.JCuda.initialize(JCuda.java:232)
at jcuda.runtime.JCuda.(JCuda.java:219)
at JCudaRuntimeTest.main(JCudaRuntimeTest.java:8)
Stack trace from the attempt to load the library as a file:
java.lang.UnsatisfiedLinkError: /state/partition1/home3/seecs/m.zaheer/JCuda-All-0.4.0RC2-bin-linux-x86_64/libJCudaRuntime-linux-x86_64.so: libcuda.so.1: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1957)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1882)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1872)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1087)
at jcuda.LibUtils.loadLibrary(LibUtils.java:90)
at jcuda.runtime.JCuda.initialize(JCuda.java:232)
at jcuda.runtime.JCuda.(JCuda.java:219)
at JCudaRuntimeTest.main(JCudaRuntimeTest.java:8)

Exception in thread “main” java.lang.UnsatisfiedLinkError: Could not load the native library
at jcuda.LibUtils.loadLibrary(LibUtils.java:122)
at jcuda.runtime.JCuda.initialize(JCuda.java:232)
at jcuda.runtime.JCuda.(JCuda.java:219)
at JCudaRuntimeTest.main(JCudaRuntimeTest.java:8)

Hello

There once was a similar message mentioned in another thread, and a websearch for the error message yields several results. The usual recommendation seems to be

(sorry, I rarely use linux, so am not so familiar with the concepts and issues that may appear there…)

If this helps, maybe a (properly worded) explanation about this could be added to the FAQ.

bye