Opened 13 months ago

Last modified 7 months ago

#2288 assigned task

libgdal-java needs to be added to the nightly osgeo repo

Reported by: misev Owned by: osgeolive@…
Priority: major Milestone: OSGeoLive15.0
Component: OSGeoLive Keywords:
Cc: pebau, kalxas


On OSGeoLive 14, libgdal-java is the standard Ubuntu 20.04 version 3.0.4, but the rest of GDAL libs and tools is 3.2.0. So there's an incompatibility which causes errors in applications that use libgdal-java, e.g. rasdaman gets this bogus error:

java.lang.RuntimeException: OGR Error: General Error

Change history (5)

comment:1 Changed 13 months ago by Bas Couwenberg

The libgdal-java binary package is no longer built since gdal (3.1.0~rc1+dfsg-1~exp1) because it prevented building gdal and its reverse dependencies on architectures for which Java is not available (Debian Bug #947960 - gdal: Doesn't build on ports without java).

comment:2 Changed 13 months ago by misev

The OSGeoLive 14.0 supports Java fine though, and installs GDAL from an unofficial package repo. This needs to be resolved somehow on OSGeoLive: either add libgdal-java to this package repo, or install GDAL from the standard Ubuntu 20.04 repos. Otherwise GDAL is broken, as it's missing the Java bindings.

comment:3 Changed 13 months ago by misev

Cc: pebau kalxas added

I had to compile gdal 3.2 manually, include in the rasdaman package, and then copy it in the script to fix this.

comment:4 Changed 13 months ago by kalxas

Thanks, I will see if I can get the java bindings back for our ppa only.

comment:5 Changed 7 months ago by kalxas

Milestone: OSGeoLive14.0OSGeoLive15.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.