Daniele Romagnoli-3 wrote
> On Fri, Apr 18, 2014 at 5:12 PM, Alex70 <

> mad4jsp@

> > wrote:
> 
>>
>> > Hi Alex,
>> >
>> > On Fri, Apr 18, 2014 at 4:16 PM, Alex70 <
>>
>> > mad4jsp@
>>
>> > > wrote:
>> >
>> >> Goodmorning,
>> >>
>> >> I'm trying to install the GDAL plugin in Geoserver but even if I did
>> the
>> >> steps reported  here
>> >> <http://docs.geoserver.org/stable/en/user/data/raster/gdal.html>
>> >> (not so
>> >> clear in my opinion)
>> >>
>> >> Feedbacks are very welcome to improve that. If you have any
>> suggestion,
>> > please let us know.
>>
>> When I will be able to load correctly the plugin maybe I will be more
>> precise on that.
>>
>>
>> >> Tomcat still says in logs:
>> >> 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.
>> >>
>> >> My config is:
>> >> Ubuntu 12.04 LTS
>> >> Tomcat7
>> >> Geoserver as WAR
>> >>
>> >> I was able to load the GDAL plugin about 1 month ago with v.2.4.5 but
>> >> after
>> >> an update of the kernel it stopped working,
>> >
>> > Probably that upgrade resulted into a native libs upgrade too (as
>> stdlibc
>> > and other native dependencies).
>> >
>> >
>> >> now seams not working anymore
>> >> neither the v2.4.5 nor the v2.5.
>> >> Maybe I have messed up something but even on a fresh new ubuntu VM
>> didn't
>> >> work.
>> >>
>> >
>> > Could you try a "gcc --version" on your machine? (Wondering whether the
>> > current machine have a different set of core dynamic libraries).
>>
>> root@host:~# gcc --version
>> gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>>
> 
> 
>>
>>
>> > Do you also have any chance to test the javainfo/gdalinfo.sh script?
>> > (If you have any issue on your machine with the downloaded dynamic
>> > libraries, that script should show that, so we can focus on this before
>> > checking why geoserver doesn't load them)
>>
>> root@host:/var/lib/geoserver_gdal/gdal-ubuntu/javainfo# sh gdalinfo.sh
>> Usage: gdalinfo [--help-general] [-mm] [-stats] [-hist] [-nogcp] [-nomd]
>>                [-norat] [-noct] [-mdd domain]* [-checksum] datasetname
>>
>>
>> Ok. So that part seems working properly.
> I would also run a "gdalinfo --version" and a "gdalinfo file" on some file
> you want to serve with geoserver.

root@host:/var/lib/geoserver_gdal/gdal-ubuntu/javainfo# sh gdalinfo.sh
--version
GDAL 1.9.2, released 2012/10/08

root@host:/var/lib/geoserver_gdal/gdal-ubuntu/javainfo# sh gdalinfo.sh
/var/lib/geoserver_data/data/1_Abruzzo/Reproject/Orto_STATUS_2010_4326.ecw 
Driver: ECW/ERDAS Compressed Wavelets (SDK 3.x)
Files:
/var/lib/geoserver_data/data/1_Abruzzo/Reproject/Orto_STATUS_2010_4326.ecw
Size is 371342, 111655
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        TOWGS84[0,0,0,0,0,0,0],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9108"]],
    AXIS["Lat",NORTH],
    AXIS["Long",EAST],
    AUTHORITY["EPSG","4326"]]
Origin = (13.371975294719464,42.79050472670984)
Pixel Size = (1.800855172693626E-6,-1.8008551726936243E-6)
Corner Coordinates:
Upper Left  (13.371975294719464,42.79050472670984) 
Lower Left  (13.371975294719464,42.589430242402734) 
Upper Right (14.04070845625786,42.79050472670984) 
Lower Right (14.04070845625786,42.589430242402734) 
Center      (13.706341875488661,42.68996748455629) 
Band 1 Block=371342x1 Type=Byte, ColorInterp=Red
  Overviews: 185671x55827, 92835x27913, 46417x13956, 23208x6978, 11604x3489,
5802x1744, 2901x872, 1450x436, 725x218
Band 2 Block=371342x1 Type=Byte, ColorInterp=Green
  Overviews: 185671x55827, 92835x27913, 46417x13956, 23208x6978, 11604x3489,
5802x1744, 2901x872, 1450x436, 725x218
Band 3 Block=371342x1 Type=Byte, ColorInterp=Blue
  Overviews: 185671x55827, 92835x27913, 46417x13956, 23208x6978, 11604x3489,
5802x1744, 2901x872, 1450x436, 725x218


> If each gdalinfo run works properly I think there are some configuration
> issue on your machine.
> You may probably have different GDAL versions on your system and some of
> them are taking priority on loading.
> Can you do a "locate libgdal" and check if you have GDAL available in
> different paths?

root@host:~# locate libgdal
/var/cache/apt/archives/libgdal1_1.9.2-2~precise4_amd64.deb
/var/lib/dpkg/info/libgdal1.list
/var/lib/dpkg/info/libgdal1.postrm
/var/lib/geoserver_gdal/gdal-ubuntu/libgdal.so
/var/lib/geoserver_gdal/gdal-ubuntu/libgdal.so.1
/var/lib/geoserver_gdal/gdal-ubuntu/libgdal.so.1.16.2
/var/lib/geoserver_gdal/gdal-ubuntu/libgdalconstjni.so
/var/lib/geoserver_gdal/gdal-ubuntu/libgdaljni.so


> Cheers,
> Daniele
> 
> 
> 
>>  > Please, let us know.
>> >
>> > Loking at the instructions they seams the same of 2.4.5 and still
>> linked
>> > the
>> >> imageio-ext-1.1.7  here
>> >> <
>> >>
>> http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.7/
>> >> >
>> >> While the Official  plugin
>> >> <
>> >>
>> http://sourceforge.net/projects/geoserver/files/GeoServer%20Extensions/2.5/geoserver-2.5-gdal-plugin.zip
>> >> >
>> >> includes now the v1.1.8
>> >>
>> >> We will fix that missmatch in the documentation.
>> > Thanks for reporting that.
>> >
>> > Cheers,
>> > Daniele
>> >
>> >
>> >> This creates a little bit of confusion in my opinion.
>> >> Thanks.
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://osgeo-org.1560.x6.nabble.com/GDAL-plugin-not-loading-Ubuntu-tp5135892.html
>> >> Sent from the GeoServer - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> Learn Graph Databases - Download FREE O'Reilly Book
>> >> "Graph Databases" is the definitive new guide to graph databases and
>> >> their
>> >> applications. Written by three acclaimed leaders in the field,
>> >> this first edition is now available. Download your free book today!
>> >> http://p.sf.net/sfu/NeoTech
>> >> _______________________________________________
>> >> Geoserver-users mailing list
>> >>
>>
>> > Geoserver-users@.sourceforge
>>
>> >> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>> >>
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Learn Graph Databases - Download FREE O'Reilly Book
>> > "Graph Databases" is the definitive new guide to graph databases and
>> their
>> > applications. Written by three acclaimed leaders in the field,
>> > this first edition is now available. Download your free book today!
>> > http://p.sf.net/sfu/NeoTech
>> > _______________________________________________
>> > Geoserver-users mailing list
>>
>> > Geoserver-users@.sourceforge
>>
>> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>> Thanks.
>>
>>
>>
>> --
>> View this message in context:
>> http://osgeo-org.1560.x6.nabble.com/GDAL-plugin-not-loading-Ubuntu-tp5135892p5135911.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/NeoTech
>> _______________________________________________
>> Geoserver-users mailing list
>> 

> Geoserver-users@.sourceforge

>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Geoserver-users mailing list

> Geoserver-users@.sourceforge

> https://lists.sourceforge.net/lists/listinfo/geoserver-users

Thanks.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GDAL-plugin-not-loading-Ubuntu-tp5135892p5135915.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to