Le mercredi 06 octobre 2010 16:35:38, sagar_sahay a écrit : > After tweaking the path variable I got this exception: > > Native library load failed. > java.lang.UnsatisfiedLinkError: > /home/gdal/gdal-1.7.2/swig/java/libgdaljni.so: > /home/gdal/gdal-1.7.2/swig/java/libgdaljni.so: wrong ELF class: ELFCLASS64 > (Possible cause: architecture word width mismatch) > Exception in thread "main" java.lang.UnsatisfiedLinkError: > org.gdal.gdal.gdalJNI.AllRegister()V > at org.gdal.gdal.gdalJNI.AllRegister(Native Method) > at org.gdal.gdal.gdal.AllRegister(gdal.java:447) > at ogr.gdalinfo.main(gdalinfo.java:57) > Java Result: 1 > > Please Help.
Well, by looking at the error, it looks like you're on a 64bit Linux, so the binding library has been compiled as 64bit, which is fine. So my guess is that you're running a 32bit JVM or 64bit JVM in 32bit mode. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
