UnsatisfiedLinkError: Version GLIBC_2.14 not found

(Moved here from lunching JCUDA · Issue #1 · jcuda/jcuda · GitHub )

hello, I’am having a big issue lunching a java program using JCUDA, i did the installation , all paths are well sets, the test program of JCUDA compile without problems, but when i execute i got this

Exception in thread „main“ java.lang.UnsatisfiedLinkError: Could not load the native library.
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.NullPointerException: No resource found with name ‚/lib/libJCudaRuntime-linux-x86_64.so‘
at jcuda.LibUtils.loadLibraryResource(LibUtils.java:149)
at jcuda.LibUtils.loadLibrary(LibUtils.java:83)
at jcuda.runtime.JCuda.initialize(JCuda.java:380)
at jcuda.runtime.JCuda.(JCuda.java:367)
at JCudaRuntimeTest.main(JCudaRuntimeTest.java:9)
Stack trace from the attempt to load the library as a file:
java.lang.UnsatisfiedLinkError: /home/zournani/JCuda/libJCudaRuntime-linux-x86_64.so: /lib/libc.so.6: version `GLIBC_2.14’ not found (required by /home/zournani/JCuda/libJCudaRuntime-linux-x86_64.so)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1847)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at jcuda.LibUtils.loadLibrary(LibUtils.java:94)
at jcuda.runtime.JCuda.initialize(JCuda.java:380)
at jcuda.runtime.JCuda.(JCuda.java:367)
at JCudaRuntimeTest.main(JCudaRuntimeTest.java:9)

at jcuda.LibUtils.loadLibrary(LibUtils.java:128)
at jcuda.runtime.JCuda.initialize(JCuda.java:380)
at jcuda.runtime.JCuda.(JCuda.java:367)
at JCudaRuntimeTest.main(JCudaRuntimeTest.java:9)

am stuck with this problem for a week, please help

The relevant part of the error message here is
/lib/libc.so.6: version `GLIBC_2.14’ not found

(I inserted this into the title here)

I’m not so familiar with Linux, but according to these stackexchange questions…
glibc - libc.so.6: version GLIBC_2.14' not found - Ask Ubuntu](http://askubuntu.com/questions/421642/libc-so-6-version-glibc-2-14-not-found) [debian - How to fix "/lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14’ not found"? - Super User

it just means that the Linux JCuda libraries have been compiled against a newer version of glibc, which is not installed on your system.

Quoting from the answer to the first question:

To upgrade it, use these commands in a terminal:


sudo apt-get update
sudo apt-get install libc6