I have configured the server on single machine. Actually, I'm not able to set LD_LIBRARY_PATH in environment. So, I have copied the .so files to /usr/lib folder manually. But, while running the KfsSample.java program, I'm getting runtime error as below.
java.lang.UnsatisfiedLinkError: /usr/lib/libkfs_access.so: /usr/lib/libkfs_access.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
Unable to load kfs_access native library
Kindly help me to resolve the above issue.
What platform are you on? It looks like the .so is built for 64-bit architecture, but you are running the JVM with a 32-bit setting. Can you run the JVM with 64 bit (on Solaris, it is (java -d64).
Also, please post this on kosmosfs-users mailing list so that others will benefit.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.