Another UnsatisfiedLinkError: Could not load native library

Thanks for the trouble!

I don’t have access to a Cuda compatible system right now, but I’ll try it the sooner I can (tomorrow, perhaps ;)).

According to the first feedback I received via mail, they seem to work (on Ubuntu 10.10, 32Bit, GeForce8600M and Fedora 12, 32Bit, GeForce GTX 460)…

Just copy and paste over the old files? (the .so files from feb 20th)

Did it, compiled, run and the same error:

mamuller@Bennett:~/workspace/jcuda$ java -cp ".:jcuda-0.3.2a.jar" JCudaRuntimeTest
Error while loading native library with base name "JCudaRuntime"
Operating system name: Linux
Architecture         : i386
Architecture bit size: 32
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load native library
    at jcuda.LibUtils.loadLibrary(LibUtils.java:79)
    at jcuda.runtime.JCuda.assertInit(JCuda.java:225)
    at jcuda.runtime.JCuda.cudaMalloc(JCuda.java:1775)
    at JCudaRuntimeTest.main(JCudaRuntimeTest.java:8)
mamuller@Bennett:~/workspace/jcuda$ 

I use Ubuntu 10.04 with NVidia 8500 GT

Then I’m running out of ideas now. Although you still did not mention whether you set the paths as described in the CUDA release notes.

But by the way: Did you have the chance to test one of the native CUDA examples from the CUDA SDK? This might at least give a hint whether CUDA is properly installed.

I ran into the errors as well, I think I had a typo in with colon when I put in semicolon.

The following works for me:

java -cp “.:jcuda-0.7.5b.jar” JCudaRuntimeTest.java
LD_LIBRARY_PATH=. java -cp “.:jcuda-0.7.5b.jar” JCudaRuntimetest

Pointer: Pointer[nativePointer=0x201580000,byteOffset=0]