[gdal-dev] Building from source on 64 bit environment

Even Rouault even.rouault at mines-paris.org
Wed Jun 27 11:39:52 PDT 2012


Le mercredi 27 juin 2012 20:36:03, kedardeshpande87 a écrit :
> Hi,
> 
> I am trying to build the gdal from source on a 64 bit RHEL5. I am also
> using the swig bindings for Java.
> But I am getting UnsatisfiedLinkError with the error cause as :
> .../libogrjni.so: wrong ELF class: ELFCLASS64* (Possible cause:
> architecture word width mismatch)*
> 
> Where can I set this option of 32/64 bit so as to run it on 64 bit linux
> machine ? Is there any variable defined in any build file ?

Are you using a 64bit JVM with 64 bit data model ? The error message sounds 
like if the JVM is in 32 bits mode.

> 
> Thanks,
> Kedar
> 
> 
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/Building-from-source-on-64-bit-environ
> ment-tp4984334.html Sent from the GDAL - Dev mailing list archive at
> Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list