[Geoserver-users] Error installing GDAL

Hello everyone,

I tried to install GeoServer with GDAL extension on Geoservwer, but I am not
ablel to make it run. I Ubuntu 16.4 as operating system. When I run gdalinfo
I receive the following message:
Usage: gdalinfo [--help-general] [-json] [-mm] [-stats] [-hist] [-nogcp]
[-nomd]
                [-norat] [-noct] [-nofl] [-checksum] [-proj4]
                [-listmdd] [-mdd domain|`all`]*
                [-sd subdataset] [-oo NAME=VALUE]* datasetname

FAILURE: No datasource specified.
When I run http://localhost:8080/geoserver/rest/about/status, I get the
following message:
Module name: ImageI/O-Ext GDAL Coverage Extension

    Module : gs-gdal
    Component : GridCoverage2DReader
    Version : 1.1.17
    Enabled : true
    Available : false
    Message : JNI GDAL Wrapper Version: unavailable
    java.library.path: /var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/

In SERVER STATUS/Modules I get the following message:
Module Name: ImageI/O-Ext GDAL Coverage Extension
Module ID: gs-gdal
Version: 1.1.17
Component: GridCoverage2DReader
Message:

JNI GDAL Wrapper Version: unavailable
java.library.path: /var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/

I tried different solutions, nothing worked. Any tip is very much
appreciated. :slight_smile:

Kind regards,
Corina

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-installing-GDAL-tp5328170.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Corina,
it’s been a week, are you still experiencing the problem?
Some notes inline below.

···

On Mon, Jul 17, 2017 at 9:35 PM, Corina Tudorache via Geoserver-users <geoserver-users@lists.sourceforge.net> wrote:

Message : JNI GDAL Wrapper Version: unavailable
java.library.path: /var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/

This means the JNI bridge is not available to Tomcat, typically means the GDAL package
we provided was not downloaded, or Tomcat did not receive the updated LD_LIBRARY_PATH.
Did you follow the instructions at http://docs.geoserver.org/latest/en/user/data/raster/gdal.html ?

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

I am experiencing this same problem.
(Centos 7, Geoserver 2.11.1, GDAL 1.11.4)
Should I be installing a different (lower?) version of the GDAL package?
Thanks,
Chris

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-installing-GDAL-tp5328170p5330046.html
Sent from the GeoServer - User mailing list archive at Nabble.com.