[Geoserver-users] No gdaljni in java.library.path Tomcat docker container

The error I am encountering is:

WARNING [http-nio-8090-exec-82]
it.geosolutions.imageio.gdalframework.GDALUtilities.loadGDAL 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 have read other threads already regarding this, and have tried several
suggested offerings for fixing this without much luck. I have followed the
instructions here:
https://docs.geoserver.org/stable/en/user/data/raster/gdal.html
<https://docs.geoserver.org/stable/en/user/data/raster/gdal.html&gt; .

My environment variables look like this:

LD_LIBRARY_PATH=/usr/local/tomcat/native-jni-lib:/usr/lib/jni
GDAL_DATA=/usr/share/gdal/2.1

Per the instructions, running this:

sudo apt-get install gdal-bin libgdal-java

installs everything I need. Considering the docker container has app-get, I
believe it is a flavor of linux that supports this installation. This being
the case, I am surprised it cannot find what it needs. I have confirmed the
gdal install and env variable are correct, but the catalina log keeps
spitting out the same error above.

My question is, what does
it.geosolutions.imageio.gdalframework.GDALUtilities.loadGDAL consider to be
the native libs and where does it expect to find them? Also, where does the
command sudo apt-get install gdal-bin libgdal-java install the libgdal-java
files? I looked in the /usr/share/gdal/2.1 and there is no lib folder.
Hence, tried using /usr/lib/jni above as an export.

Man thanks in advance for any help you can provide. Cheers

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

Sorry if this is posted in the wrong place, but I have tried MANY times to unsubscribe using the link at the bottom of the list emails, but am still getting copied on list conversations.

Is there some other way we need to unsubscribe ourselves?

Sorry if this is posted in the wrong place, but I have tried MANY times to unsubscribe using the link at the bottom of the list emails, but am still getting copied on list conversations.

Is there some other way we need to unsubscribe ourselves?

This should do:
https://sourceforge.net/projects/geoserver/lists/geoserver-users/unsubscribe

Regards,
Simone Giannecchini

GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

-------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali
(Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati
“GDPR”), si precisa che ogni circostanza inerente alla presente email
(il suo contenuto, gli eventuali allegati, etc.) è un dato la cui
conoscenza è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a
cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato
se potesse darmene notizia.

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential
or otherwise protected from disclosure. We remind that - as provided
by European Regulation 2016/679 “GDPR” - copying, dissemination or use
of this e-mail or the information herein by anyone other than the
intended recipient is prohibited. If you have received this email by
mistake, please notify us immediately by telephone or e-mail.

On Thu, Nov 14, 2019 at 7:22 PM Mike Bronner via Geoserver-users
<geoserver-users@lists.sourceforge.net> wrote:

Sorry if this is posted in the wrong place, but I have tried MANY times to unsubscribe using the link at the bottom of the list emails, but am still getting copied on list conversations.

Is there some other way we need to unsubscribe ourselves?

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

What version of geoserver are you working with? We relatively recently got GDAL 2.x support …

···


Jody Garnett

goto https://sourceforge.net/projects/geoserver/lists/geoserver-users/unsubscribe as mentioned at the bottom of every message.

Ian

···

Ian Turton