Hi Zandos, please keep the list on CC so that other users can provide their feedbacks as well as retrieve information from the discussion in the future, though search.
On Mon, Apr 4, 2016 at 2:26 PM, zh.kerimku...@gharysh.kz < zh.kerimku...@gharysh.kz> wrote: > > > > > *From:* dany.geoto...@gmail.com [mailto:dany.geoto...@gmail.com] *On > Behalf Of *Daniele Romagnoli > *Sent:* Monday, April 4, 2016 5:08 PM > *To:* Керимкулов Жандос Сеитович > *Cc:* geoserver-users@lists.sourceforge.net > *Subject:* Re: [Geoserver-users] GDAL native lib error during instaling > to version 2.8.2 > > > > Hi Zandos, > > thanks for having moved the discussion from JIRA to this list. > > > > On Mon, Apr 4, 2016 at 12:18 PM, zh.kerimku...@gharysh.kz < > zh.kerimku...@gharysh.kz> wrote: > > 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 > > This is the warning stating GeoServer (through GeoTools) is unable to load > your native libs. > > > > ------------------------------ > > 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 > > ------------------------------ > > Which command did you executed? > > Did you run "gdalinfo --formats" as suggested in the doc? > > I downloaded GDAL192-Ubuntu12 –gcc4.6.3-x86-64.tar and inside > /gdal192/javainfo there is gdalinfo.sh script file. > Yep, what I was meaning is which options/params did you used with "gdalinfo"? (as an instance: gdalinfo --formats) 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) > > ------------------------------ > > Could you please report how did you configured the LD_LIBRARY_PATH or your > tomcat scripts ? > > Yes, of course, this is result of my echo command > > echo $LD_LIBRARY_PATH > /var/lib/tomcat7/webapps/geoserver/gdal192/ > > > > echo $GDAL_DATA > /var/lib/tomcat7/webapps/geoserver/gdal-data > > > Do you have any chance to report what "ls -ls /var/lib/tomcat7/webapps/geoserver/gdal192/" returns? Cheers, Daniele > > > 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, > > > > Note that this specific download should be installed on Ubuntu 12.04 > version. > > There is no guarantee that they would work on a 14.04 version of Ubuntu > (there may be conflict with dependency libraries, resulting into loading, > linking incompatibilities). > > I would take a look to this discussion: > > > http://osgeo-org.1560.x6.nabble.com/Failed-to-load-the-GDAL-native-libs-GDAL-PLUGIN-cannot-be-enabled-td5222384.html > > which covers the same topic. > > > Also 1 strange thing that this libs crash my current image mosaic layer. > > What do you mean? Can you provide some more details on this? > > Where I can find proper native libs? > > > > See the link I provided above. > > > > Please, let us know if you still have issues. > > Cheers, > > Daniele > > > > > > Zhandos > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > > > > > -- > > == > > GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. > == > > Ing. Daniele Romagnoli > Senior Software Engineer > > GeoSolutions S.A.S. > Via di Montramito 3/A > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > > 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. > > > -- == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 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.
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users