[gdal-dev] libgdaljni.so installed in the wrong dir by default?

Landry Breuil breuil at craig.fr
Thu Jul 20 01:43:38 PDT 2023


Hi,

working on debian and trying to reenable the libgdal-java package for 
geoserver needs, i've figured out that since the switch to cmake, the 
jars and the libgdalalljni.so files are now all installed in 
GDAL_JAVA_INSTALL_DIR (which defaults to /usr/share/java).

previously with the autoconf-based builds, the jars went to 
usr/share/java, and the libgdal*jni.so to usr/lib (then moved to 
usr/lib/jni on debian).

was it an oversight ? it feels 'wrong' to have shared libs in 
usr/share/java..

-- 
Landry Breuil


More information about the gdal-dev mailing list