Hi there During installation GDAL Image formats by http://docs.geoserver.org/latest/en/user/data/raster/gdal.html i had next errors on tomcat 7 logs.
24, 2016 10:55:50 AM it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL
WARNING: Failed to load the GDAL native libs. This is not a problem unless you need to use the GDAL plugins: they won't be enabled.
java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path
I test it by bash gdalinfo.sh which has next code
#!/bin/bash
input=$1
export LD_LIBRARY_PATH=..:$LD_LIBRARY_PATH
CLASSPATH=imageio-ext-gdal-bindings-1.9.2.jar:.
java -classpath "${CLASSPATH}" gdalinfo $input
So it give's me next error log
Native library load failed.
java.lang.UnsatisfiedLinkError: /var/lib/tomcat7/webapps/geoserver/gdal192/libgdaljni.so: ../libgdal.so.1: file too small
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:475)
at gdalinfo.main(gdalinfo.java:87)
I am using Geoserver 2.8.2 on Ubuntu 14.04 and with installed GDAL on my server. In Image IO-Ext download link http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.12/ native libs available only for Ubuntu 12.04 version, Also 1 strage thing that this libs crash my image mosaic layer. Where I can find proper native libs? |