[gdal-dev] GDAL with mdb support on Ubuntu 12.04

Luca Casagrande luca.casagrande at gmail.com
Sun May 27 13:45:03 PDT 2012


Hello everybody,
I can't find a way to enable support for mdb on my Ubuntu 12.04.
Gdal version is 1.9.1, Java is OpenJDK 7 and this is an extract from 
configure:

--with-java=yes --with-mdb=yes 
--with-jvm-lib=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/

This is the error:
checking whether we should include Java support... yes
checking whether we should include MDB support... checking for 
JNI_CreateJavaVM in -ljvm... no
configure: error: "--with-jvm-lib must point to a directory with a libjvm."

luca at scummbar:~$ locate libjvm.so
/usr/lib/jvm/java-1.5.0-gcj-4.6/lib/libjvm.so
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/cacao/libjvm.so
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/jamvm/libjvm.so
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server/libjvm.so
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/cacao/libjvm.so
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jamvm/libjvm.so
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server/libjvm.so
/usr/lib/x86_64-linux-gnu/gcj-4.6-12/libjvm.so

Any idea?

Thank you very much!
L.
-- 
Luca Casagrande
http://www.lucacasagrande.net


More information about the gdal-dev mailing list