Help save net neutrality! Learn more.

Error running (LD_LIBRARY_PATH

  • Vnisor

    Vnisor - 2008-04-02

        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 program, I'm getting runtime error as below.

    java.lang.UnsatisfiedLinkError: /usr/lib/ /usr/lib/ wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(
        at java.lang.ClassLoader.loadLibrary(
        at java.lang.Runtime.loadLibrary0(
        at java.lang.System.loadLibrary(
        at org.kosmix.kosmosfs.access.KfsAccess.<clinit>(
        at KfsSample.main(
    Unable to load kfs_access native library

    Kindly help me to resolve the above issue.

    • sriramsrao

      sriramsrao - 2008-04-02

      A reply has been posted on the "help" forum.


Log in to post a comment.