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

Even Rouault even.rouault at mines-paris.org
Sun May 27 14:13:06 PDT 2012


Selon Luca Casagrande <luca.casagrande at gmail.com>:

> 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?
>

I don't see anything wrong, and sometimes ago I did test on a Ubuntu 12.04 VM to
make the necessary changes to support the new paths. I'm not sure if I tested
setting --with-jvm-lib= . You could perhaps try removing it, since ./configure
should autodetect it on that OS.

I'll test again once I have access to that VM.

> Thank you very much!
> L.
> --
> Luca Casagrande
> http://www.lucacasagrande.net
> _______________________________________________
> 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