Page 1 of 1

Possible cause: architecture word width mismatch

Posted: 2008/07/13 12:28:54
by giuse
I booted CentOS 4.6 on a VMWARE session on my PC and trying to run previously built/compiled code onto it.

The code has been compiled on a RHE 4.6 on 32 bit.

and I'm trying to run the binaries with shared libs ets on a CentOS x86_64.

When running them I get the following error message:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /libs/ /
/libs/ cannot open shared object file: No such file or directory (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(

the library is there and correctly present in th eLD_LIBRARY_PATH.

I'm wondering whether there is any issue with using shared libraried built on a 32 bit env running on a 64 bit,
or this is a CentOS known issue etc.

Can anybody help ?