[Geoserver-users] MrSID store creation not completing

Hi

I can see all the GDAL raster types and can complete the form for creation of a MrSID or ECW store. However, when I Save, the screen doesn't revert to the Publish screen, yet no errors are returned. I have to click Cancel. Nevertheless, the store does appear in the list of stores, yet I cannot create a layer from it. Even on verbose, there's nothing obvious in the logs.

Geoserver 2.2.4

Any known issues with this version of Geoserver? I'd appreciate any tips.

I really need to get this working so I can use the MrSIDs as level 0 of an Image pyramid layer and geotiffs generated by gdal_retile as the pyramid layers, thus avoiding having to generate a massive level 0 of geotiffs.

--
thanks in advance

Gavin

Hi Gavin,

can you please provide us some more details on your system?
Which OS are you using?

Which Set of GDAL extensions, ImageIO-EXT version and GDAL native libs are you using?

Please, let us know.
Cheers,
Daniele

···

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Sat, Jun 8, 2013 at 2:59 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi

I can see all the GDAL raster types and can complete the form for
creation of a MrSID or ECW store. However, when I Save, the screen
doesn’t revert to the Publish screen, yet no errors are returned. I have
to click Cancel. Nevertheless, the store does appear in the list of
stores, yet I cannot create a layer from it. Even on verbose, there’s
nothing obvious in the logs.

Geoserver 2.2.4

Any known issues with this version of Geoserver? I’d appreciate any tips.

I really need to get this working so I can use the MrSIDs as level 0 of
an Image pyramid layer and geotiffs generated by gdal_retile as the
pyramid layers, thus avoiding having to generate a massive level 0 of
geotiffs.


thanks in advance

Gavin


How ServiceNow helps IT people transform IT departments:

  1. A cloud service to automate IT design, transition and operations
  2. Dashboards that offer high-level views of enterprise services
  3. A single system of record for all IT processes
    http://p.sf.net/sfu/servicenow-d2d-j

Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Daniele

Ubuntu server 10.04 LTS
Geoserver 2.2.4
Tomcat 6

From http://geoserver.org/display/GEOS/GeoServer+2.2.4:

GDAL extension: geoserver-2.2.4-gdal-plugin.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

From http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.6/:

GDAL native libs: gdal192-Ubuntu11-gcc4.5.2-x86_64.tar.gz
→ extracted to /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/

/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo --version
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: error while loading shared libraries: libltidsdk.so: cannot open shared object file: No such file or directory

(I’ve also tried the previous one, gdal1.7.3-linux64-base-gcc43.tar.gz. That doesn’t work either, but didn’t give the libltidsdk.so error.)

ImageIO-Ext version: from imageio-ext-1.1.6-jars.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

gdal-data.zip → extracted to /usr/local/gdal_data

/etc/environment:
LD_LIBRARY_PATH=“/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/”
GDAL_DATA=“/usr/local/gdal_data”

System GDAL: GDAL 1.10dev (compiled from source to add mrsid and ecw). cli gdal utilies work fine with mrsids. e.g. gdal_retile.py built a pyramid from mrsids no problem.

thanks in advance

Gavin

···

On 10/06/2013 10:03, Daniele Romagnoli wrote:

Hi Gavin,

can you please provide us some more details on your system?
Which OS are you using?

Which Set of GDAL extensions, ImageIO-EXT version and GDAL native libs are you using?

Please, let us know.
Cheers,
Daniele

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Sat, Jun 8, 2013 at 2:59 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi

I can see all the GDAL raster types and can complete the form for
creation of a MrSID or ECW store. However, when I Save, the screen
doesn’t revert to the Publish screen, yet no errors are returned. I have
to click Cancel. Nevertheless, the store does appear in the list of
stores, yet I cannot create a layer from it. Even on verbose, there’s
nothing obvious in the logs.

Geoserver 2.2.4

Any known issues with this version of Geoserver? I’d appreciate any tips.

I really need to get this working so I can use the MrSIDs as level 0 of
an Image pyramid layer and geotiffs generated by gdal_retile as the
pyramid layers, thus avoiding having to generate a massive level 0 of
geotiffs.


thanks in advance

Gavin


How ServiceNow helps IT people transform IT departments:

  1. A cloud service to automate IT design, transition and operations
  2. Dashboards that offer high-level views of enterprise services
  3. A single system of record for all IT processes
    http://p.sf.net/sfu/servicenow-d2d-j

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

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

Hi Gavin,
please read below…

···

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Mon, Jun 10, 2013 at 1:53 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi Daniele

Ubuntu server 10.04 LTS
Geoserver 2.2.4
Tomcat 6

From http://geoserver.org/display/GEOS/GeoServer+2.2.4:

GDAL extension: geoserver-2.2.4-gdal-plugin.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

From http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.6/:

GDAL native libs: gdal192-Ubuntu11-gcc4.5.2-x86_64.tar.gz
→ extracted to /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/

/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo --version
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: error while loading shared libraries: libltidsdk.so: cannot open shared object file: No such file or directory

I’m wondering whether that gcc version build is supported on your 10.04…

Can you try a “ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo” and check the output?

(I’ve also tried the previous one, gdal1.7.3-linux64-base-gcc43.tar.gz. That doesn’t work either, but didn’t give the libltidsdk.so error.)

It requires a different gdal-bindings jar (the one made for 1.7.3 version) whilst you are trying to use 1.9.2-bindings against 1.7.3 native libs.

ImageIO-Ext version: from imageio-ext-1.1.6-jars.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

gdal-data.zip → extracted to /usr/local/gdal_data

/etc/environment:
LD_LIBRARY_PATH=“/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/”
GDAL_DATA=“/usr/local/gdal_data”

System GDAL: GDAL 1.10dev (compiled from source to add mrsid and ecw). cli gdal utilies work fine with mrsids. e.g. gdal_retile.py built a pyramid from mrsids no problem.

thanks in advance

Gavin

Please, let us know.
Cheers,
Daniele

On 10/06/2013 10:03, Daniele Romagnoli wrote:

Hi Gavin,

can you please provide us some more details on your system?
Which OS are you using?

Which Set of GDAL extensions, ImageIO-EXT version and GDAL native libs are you using?

Please, let us know.
Cheers,
Daniele

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Sat, Jun 8, 2013 at 2:59 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi

I can see all the GDAL raster types and can complete the form for
creation of a MrSID or ECW store. However, when I Save, the screen
doesn’t revert to the Publish screen, yet no errors are returned. I have
to click Cancel. Nevertheless, the store does appear in the list of
stores, yet I cannot create a layer from it. Even on verbose, there’s
nothing obvious in the logs.

Geoserver 2.2.4

Any known issues with this version of Geoserver? I’d appreciate any tips.

I really need to get this working so I can use the MrSIDs as level 0 of
an Image pyramid layer and geotiffs generated by gdal_retile as the
pyramid layers, thus avoiding having to generate a massive level 0 of
geotiffs.


thanks in advance

Gavin


How ServiceNow helps IT people transform IT departments:

  1. A cloud service to automate IT design, transition and operations
  2. Dashboards that offer high-level views of enterprise services
  3. A single system of record for all IT processes
    http://p.sf.net/sfu/servicenow-d2d-j

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

Hi Daniele

ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo
linux-vdso.so.1 => (0x00007fff1def9000)
libgdal.so.1 => /usr/local/lib/libgdal.so.1 (0x00007f70f3c67000)
libNCSEcw.so.0 => /usr/local/lib/libNCSEcw.so.0 (0x00007f70f3929000)
libNCSEcwC.so.0 => /usr/local/lib/libNCSEcwC.so.0 (0x00007f70f3724000)
libNCSCnet.so.0 => /usr/local/lib/libNCSCnet.so.0 (0x00007f70f350e000)
libNCSUtil.so.0 => /usr/local/lib/libNCSUtil.so.0 (0x00007f70f32e8000)
librt.so.1 => /lib/librt.so.1 (0x00007f70f30df000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f70f2edb000)
libltidsdk.so => not found
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f70f2cbd000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f70f29a9000)
libm.so.6 => /lib/libm.so.6 (0x00007f70f2726000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f70f250e000)
libc.so.6 => /lib/libc.so.6 (0x00007f70f2188000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f70f1efb000)
libexpat.so.1 => /lib/libexpat.so.1 (0x00007f70f1cd1000)
libpq.so.5 => /usr/lib/libpq.so.5 (0x00007f70f1aa4000)
libz.so.1 => /lib/libz.so.1 (0x00007f70f188d000)
libpcre.so.3 => /lib/libpcre.so.3 (0x00007f70f165e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f70f4c1e000)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f70f140a000)
libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f70f1078000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f70f0db4000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00007f70f0bb0000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f70f097b000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x00007f70f072f000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f70f0508000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f70f0300000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00007f70f00fd000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007f70efee4000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f70efcd5000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f70efabb000)
libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00007f70ef819000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007f70ef607000)
libgcrypt.so.11 => /lib/libgcrypt.so.11 (0x00007f70ef38f000)
libgpg-error.so.0 => /lib/libgpg-error.so.0 (0x00007f70ef18b000)

···

On 11/06/2013 09:34, Daniele Romagnoli wrote:

Hi Gavin,
please read below…

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Mon, Jun 10, 2013 at 1:53 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi Daniele

Ubuntu server 10.04 LTS
Geoserver 2.2.4
Tomcat 6

From http://geoserver.org/display/GEOS/GeoServer+2.2.4:

GDAL extension: geoserver-2.2.4-gdal-plugin.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

From http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.6/:

GDAL native libs: gdal192-Ubuntu11-gcc4.5.2-x86_64.tar.gz
→ extracted to /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/

/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo --version
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: error while loading shared libraries: libltidsdk.so: cannot open shared object file: No such file or directory

I’m wondering whether that gcc version build is supported on your 10.04…

Can you try a “ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo” and check the output?

(I’ve also tried the previous one, gdal1.7.3-linux64-base-gcc43.tar.gz. That doesn’t work either, but didn’t give the libltidsdk.so error.)

It requires a different gdal-bindings jar (the one made for 1.7.3 version) whilst you are trying to use 1.9.2-bindings against 1.7.3 native libs.

ImageIO-Ext version: from imageio-ext-1.1.6-jars.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

gdal-data.zip → extracted to /usr/local/gdal_data

/etc/environment:
LD_LIBRARY_PATH=“/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/”
GDAL_DATA=“/usr/local/gdal_data”

System GDAL: GDAL 1.10dev (compiled from source to add mrsid and ecw). cli gdal utilies work fine with mrsids. e.g. gdal_retile.py built a pyramid from mrsids no problem.

thanks in advance

Gavin

Please, let us know.
Cheers,
Daniele

On 10/06/2013 10:03, Daniele Romagnoli wrote:

Hi Gavin,

can you please provide us some more details on your system?
Which OS are you using?

Which Set of GDAL extensions, ImageIO-EXT version and GDAL native libs are you using?

Please, let us know.
Cheers,
Daniele

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Sat, Jun 8, 2013 at 2:59 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi

I can see all the GDAL raster types and can complete the form for
creation of a MrSID or ECW store. However, when I Save, the screen
doesn’t revert to the Publish screen, yet no errors are returned. I have
to click Cancel. Nevertheless, the store does appear in the list of
stores, yet I cannot create a layer from it. Even on verbose, there’s
nothing obvious in the logs.

Geoserver 2.2.4

Any known issues with this version of Geoserver? I’d appreciate any tips.

I really need to get this working so I can use the MrSIDs as level 0 of
an Image pyramid layer and geotiffs generated by gdal_retile as the
pyramid layers, thus avoiding having to generate a massive level 0 of
geotiffs.


thanks in advance

Gavin


How ServiceNow helps IT people transform IT departments:

  1. A cloud service to automate IT design, transition and operations
  2. Dashboards that offer high-level views of enterprise services
  3. A single system of record for all IT processes
    http://p.sf.net/sfu/servicenow-d2d-j

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

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

Hi Gavin,
It seems you have multiple GDAL libs and third party libs available on your system (some of them are on /usr/local/lib).

Do you get this output even when forcing the LD_LIBRARY_PATH to refer to the folder where you have extracted the 1.9.2 downloaded ones?

Daniele

···

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Tue, Jun 11, 2013 at 11:03 AM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi Daniele

ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo
linux-vdso.so.1 => (0x00007fff1def9000)
libgdal.so.1 => /usr/local/lib/libgdal.so.1 (0x00007f70f3c67000)
libNCSEcw.so.0 => /usr/local/lib/libNCSEcw.so.0 (0x00007f70f3929000)
libNCSEcwC.so.0 => /usr/local/lib/libNCSEcwC.so.0 (0x00007f70f3724000)
libNCSCnet.so.0 => /usr/local/lib/libNCSCnet.so.0 (0x00007f70f350e000)
libNCSUtil.so.0 => /usr/local/lib/libNCSUtil.so.0 (0x00007f70f32e8000)
librt.so.1 => /lib/librt.so.1 (0x00007f70f30df000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f70f2edb000)
libltidsdk.so => not found
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f70f2cbd000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f70f29a9000)
libm.so.6 => /lib/libm.so.6 (0x00007f70f2726000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f70f250e000)
libc.so.6 => /lib/libc.so.6 (0x00007f70f2188000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f70f1efb000)
libexpat.so.1 => /lib/libexpat.so.1 (0x00007f70f1cd1000)
libpq.so.5 => /usr/lib/libpq.so.5 (0x00007f70f1aa4000)
libz.so.1 => /lib/libz.so.1 (0x00007f70f188d000)
libpcre.so.3 => /lib/libpcre.so.3 (0x00007f70f165e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f70f4c1e000)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f70f140a000)
libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f70f1078000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f70f0db4000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00007f70f0bb0000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f70f097b000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x00007f70f072f000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f70f0508000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f70f0300000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00007f70f00fd000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007f70efee4000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f70efcd5000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f70efabb000)
libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00007f70ef819000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007f70ef607000)
libgcrypt.so.11 => /lib/libgcrypt.so.11 (0x00007f70ef38f000)
libgpg-error.so.0 => /lib/libgpg-error.so.0 (0x00007f70ef18b000)

On 11/06/2013 09:34, Daniele Romagnoli wrote:

Hi Gavin,
please read below…

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Mon, Jun 10, 2013 at 1:53 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi Daniele

Ubuntu server 10.04 LTS
Geoserver 2.2.4
Tomcat 6

From http://geoserver.org/display/GEOS/GeoServer+2.2.4:

GDAL extension: geoserver-2.2.4-gdal-plugin.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

From http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.6/:

GDAL native libs: gdal192-Ubuntu11-gcc4.5.2-x86_64.tar.gz
→ extracted to /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/

/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo --version
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: error while loading shared libraries: libltidsdk.so: cannot open shared object file: No such file or directory

I’m wondering whether that gcc version build is supported on your 10.04…

Can you try a “ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo” and check the output?

(I’ve also tried the previous one, gdal1.7.3-linux64-base-gcc43.tar.gz. That doesn’t work either, but didn’t give the libltidsdk.so error.)

It requires a different gdal-bindings jar (the one made for 1.7.3 version) whilst you are trying to use 1.9.2-bindings against 1.7.3 native libs.

ImageIO-Ext version: from imageio-ext-1.1.6-jars.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

gdal-data.zip → extracted to /usr/local/gdal_data

/etc/environment:
LD_LIBRARY_PATH=“/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/”
GDAL_DATA=“/usr/local/gdal_data”

System GDAL: GDAL 1.10dev (compiled from source to add mrsid and ecw). cli gdal utilies work fine with mrsids. e.g. gdal_retile.py built a pyramid from mrsids no problem.

thanks in advance

Gavin

Please, let us know.
Cheers,
Daniele

On 10/06/2013 10:03, Daniele Romagnoli wrote:

Hi Gavin,

can you please provide us some more details on your system?
Which OS are you using?

Which Set of GDAL extensions, ImageIO-EXT version and GDAL native libs are you using?

Please, let us know.
Cheers,
Daniele

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Sat, Jun 8, 2013 at 2:59 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi

I can see all the GDAL raster types and can complete the form for
creation of a MrSID or ECW store. However, when I Save, the screen
doesn’t revert to the Publish screen, yet no errors are returned. I have
to click Cancel. Nevertheless, the store does appear in the list of
stores, yet I cannot create a layer from it. Even on verbose, there’s
nothing obvious in the logs.

Geoserver 2.2.4

Any known issues with this version of Geoserver? I’d appreciate any tips.

I really need to get this working so I can use the MrSIDs as level 0 of
an Image pyramid layer and geotiffs generated by gdal_retile as the
pyramid layers, thus avoiding having to generate a massive level 0 of
geotiffs.


thanks in advance

Gavin


How ServiceNow helps IT people transform IT departments:

  1. A cloud service to automate IT design, transition and operations
  2. Dashboards that offer high-level views of enterprise services
  3. A single system of record for all IT processes
    http://p.sf.net/sfu/servicenow-d2d-j

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

Hi Daniele

No, if I force LD_LIBRARY_PATH I get quite different output and another error:

gavin@anonymised.com:~$ export LD_LIBRARY_PATH=“/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/”
gavin@anonymised.com:~$ ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14’ not found (required by /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSEcw.so.0)
linux-vdso.so.1 => (0x00007fff64be1000)
libgdal.so.1 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libgdal.so.1 (0x00007feec7e19000)
libNCSEcw.so.0 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSEcw.so.0 (0x00007feec7ae5000)
libNCSEcwC.so.0 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSEcwC.so.0 (0x00007feec78e1000)
libNCSCnet.so.0 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSCnet.so.0 (0x00007feec76cd000)
libNCSUtil.so.0 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSUtil.so.0 (0x00007feec74a8000)
librt.so.1 => /lib/librt.so.1 (0x00007feec7299000)
libdl.so.2 => /lib/libdl.so.2 (0x00007feec7095000)
libltidsdk.so => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libltidsdk.so (0x00007feec6a69000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007feec684c000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007feec6538000)
libm.so.6 => /lib/libm.so.6 (0x00007feec62b4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007feec609d000)
libc.so.6 => /lib/libc.so.6 (0x00007feec5d17000)
/lib64/ld-linux-x86-64.so.2 (0x00007feec8898000)

···

On 11/06/2013 11:18, Daniele Romagnoli wrote:

Hi Gavin,
It seems you have multiple GDAL libs and third party libs available on your system (some of them are on /usr/local/lib).

Do you get this output even when forcing the LD_LIBRARY_PATH to refer to the folder where you have extracted the 1.9.2 downloaded ones?

Daniele

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Tue, Jun 11, 2013 at 11:03 AM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi Daniele

ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo
linux-vdso.so.1 => (0x00007fff1def9000)
libgdal.so.1 => /usr/local/lib/libgdal.so.1 (0x00007f70f3c67000)
libNCSEcw.so.0 => /usr/local/lib/libNCSEcw.so.0 (0x00007f70f3929000)
libNCSEcwC.so.0 => /usr/local/lib/libNCSEcwC.so.0 (0x00007f70f3724000)
libNCSCnet.so.0 => /usr/local/lib/libNCSCnet.so.0 (0x00007f70f350e000)
libNCSUtil.so.0 => /usr/local/lib/libNCSUtil.so.0 (0x00007f70f32e8000)
librt.so.1 => /lib/librt.so.1 (0x00007f70f30df000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f70f2edb000)
libltidsdk.so => not found
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f70f2cbd000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f70f29a9000)
libm.so.6 => /lib/libm.so.6 (0x00007f70f2726000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f70f250e000)
libc.so.6 => /lib/libc.so.6 (0x00007f70f2188000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f70f1efb000)
libexpat.so.1 => /lib/libexpat.so.1 (0x00007f70f1cd1000)
libpq.so.5 => /usr/lib/libpq.so.5 (0x00007f70f1aa4000)
libz.so.1 => /lib/libz.so.1 (0x00007f70f188d000)
libpcre.so.3 => /lib/libpcre.so.3 (0x00007f70f165e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f70f4c1e000)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f70f140a000)
libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f70f1078000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f70f0db4000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00007f70f0bb0000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f70f097b000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x00007f70f072f000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f70f0508000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f70f0300000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00007f70f00fd000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007f70efee4000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f70efcd5000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f70efabb000)
libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00007f70ef819000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007f70ef607000)
libgcrypt.so.11 => /lib/libgcrypt.so.11 (0x00007f70ef38f000)
libgpg-error.so.0 => /lib/libgpg-error.so.0 (0x00007f70ef18b000)

On 11/06/2013 09:34, Daniele Romagnoli wrote:

Hi Gavin,
please read below…

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Mon, Jun 10, 2013 at 1:53 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi Daniele

Ubuntu server 10.04 LTS
Geoserver 2.2.4
Tomcat 6

From http://geoserver.org/display/GEOS/GeoServer+2.2.4:

GDAL extension: geoserver-2.2.4-gdal-plugin.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

From http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.6/:

GDAL native libs: gdal192-Ubuntu11-gcc4.5.2-x86_64.tar.gz
→ extracted to /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/

/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo --version
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: error while loading shared libraries: libltidsdk.so: cannot open shared object file: No such file or directory

I’m wondering whether that gcc version build is supported on your 10.04…

Can you try a “ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo” and check the output?

(I’ve also tried the previous one, gdal1.7.3-linux64-base-gcc43.tar.gz. That doesn’t work either, but didn’t give the libltidsdk.so error.)

It requires a different gdal-bindings jar (the one made for 1.7.3 version) whilst you are trying to use 1.9.2-bindings against 1.7.3 native libs.

ImageIO-Ext version: from imageio-ext-1.1.6-jars.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

gdal-data.zip → extracted to /usr/local/gdal_data

/etc/environment:
LD_LIBRARY_PATH=“/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/”
GDAL_DATA=“/usr/local/gdal_data”

System GDAL: GDAL 1.10dev (compiled from source to add mrsid and ecw). cli gdal utilies work fine with mrsids. e.g. gdal_retile.py built a pyramid from mrsids no problem.

thanks in advance

Gavin

Please, let us know.
Cheers,
Daniele

On 10/06/2013 10:03, Daniele Romagnoli wrote:

Hi Gavin,

can you please provide us some more details on your system?
Which OS are you using?

Which Set of GDAL extensions, ImageIO-EXT version and GDAL native libs are you using?

Please, let us know.
Cheers,
Daniele

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Sat, Jun 8, 2013 at 2:59 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi

I can see all the GDAL raster types and can complete the form for
creation of a MrSID or ECW store. However, when I Save, the screen
doesn’t revert to the Publish screen, yet no errors are returned. I have
to click Cancel. Nevertheless, the store does appear in the list of
stores, yet I cannot create a layer from it. Even on verbose, there’s
nothing obvious in the logs.

Geoserver 2.2.4

Any known issues with this version of Geoserver? I’d appreciate any tips.

I really need to get this working so I can use the MrSIDs as level 0 of
an Image pyramid layer and geotiffs generated by gdal_retile as the
pyramid layers, thus avoiding having to generate a massive level 0 of
geotiffs.


thanks in advance

Gavin


How ServiceNow helps IT people transform IT departments:

  1. A cloud service to automate IT design, transition and operations
  2. Dashboards that offer high-level views of enterprise services
  3. A single system of record for all IT processes
    http://p.sf.net/sfu/servicenow-d2d-j

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

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

Hi Gavin,
That confirms my suspects: On Ubuntu 10.04 there isn’t the proper GLIBCXX version required by the downloadable version.

Since you have built GDAL 1.10dev on your system, you could also try building 1.9.2 (which is the one used by ImageIO-Ext 1.1.6) so that you will be sure to use the system libraries (GLIBC…) you have available on your system.

(Make sure to use the --with-threads config option when configuring the build).

Hope this helps.
Daniele

···

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Tue, Jun 11, 2013 at 10:49 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi Daniele

No, if I force LD_LIBRARY_PATH I get quite different output and another error:

gavin@anonymised.com:~$ export LD_LIBRARY_PATH=“/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/”
gavin@anonymised.com:~$ ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14’ not found (required by /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSEcw.so.0)
linux-vdso.so.1 => (0x00007fff64be1000)
libgdal.so.1 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libgdal.so.1 (0x00007feec7e19000)
libNCSEcw.so.0 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSEcw.so.0 (0x00007feec7ae5000)
libNCSEcwC.so.0 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSEcwC.so.0 (0x00007feec78e1000)
libNCSCnet.so.0 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSCnet.so.0 (0x00007feec76cd000)
libNCSUtil.so.0 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSUtil.so.0 (0x00007feec74a8000)
librt.so.1 => /lib/librt.so.1 (0x00007feec7299000)
libdl.so.2 => /lib/libdl.so.2 (0x00007feec7095000)
libltidsdk.so => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libltidsdk.so (0x00007feec6a69000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007feec684c000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007feec6538000)
libm.so.6 => /lib/libm.so.6 (0x00007feec62b4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007feec609d000)
libc.so.6 => /lib/libc.so.6 (0x00007feec5d17000)
/lib64/ld-linux-x86-64.so.2 (0x00007feec8898000)

On 11/06/2013 11:18, Daniele Romagnoli wrote:

Hi Gavin,
It seems you have multiple GDAL libs and third party libs available on your system (some of them are on /usr/local/lib).

Do you get this output even when forcing the LD_LIBRARY_PATH to refer to the folder where you have extracted the 1.9.2 downloaded ones?

Daniele

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Tue, Jun 11, 2013 at 11:03 AM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi Daniele

ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo
linux-vdso.so.1 => (0x00007fff1def9000)
libgdal.so.1 => /usr/local/lib/libgdal.so.1 (0x00007f70f3c67000)
libNCSEcw.so.0 => /usr/local/lib/libNCSEcw.so.0 (0x00007f70f3929000)
libNCSEcwC.so.0 => /usr/local/lib/libNCSEcwC.so.0 (0x00007f70f3724000)
libNCSCnet.so.0 => /usr/local/lib/libNCSCnet.so.0 (0x00007f70f350e000)
libNCSUtil.so.0 => /usr/local/lib/libNCSUtil.so.0 (0x00007f70f32e8000)
librt.so.1 => /lib/librt.so.1 (0x00007f70f30df000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f70f2edb000)
libltidsdk.so => not found
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f70f2cbd000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f70f29a9000)
libm.so.6 => /lib/libm.so.6 (0x00007f70f2726000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f70f250e000)
libc.so.6 => /lib/libc.so.6 (0x00007f70f2188000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f70f1efb000)
libexpat.so.1 => /lib/libexpat.so.1 (0x00007f70f1cd1000)
libpq.so.5 => /usr/lib/libpq.so.5 (0x00007f70f1aa4000)
libz.so.1 => /lib/libz.so.1 (0x00007f70f188d000)
libpcre.so.3 => /lib/libpcre.so.3 (0x00007f70f165e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f70f4c1e000)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f70f140a000)
libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f70f1078000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f70f0db4000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00007f70f0bb0000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f70f097b000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x00007f70f072f000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f70f0508000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f70f0300000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00007f70f00fd000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007f70efee4000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f70efcd5000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f70efabb000)
libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00007f70ef819000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007f70ef607000)
libgcrypt.so.11 => /lib/libgcrypt.so.11 (0x00007f70ef38f000)
libgpg-error.so.0 => /lib/libgpg-error.so.0 (0x00007f70ef18b000)

On 11/06/2013 09:34, Daniele Romagnoli wrote:

Hi Gavin,
please read below…

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Mon, Jun 10, 2013 at 1:53 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi Daniele

Ubuntu server 10.04 LTS
Geoserver 2.2.4
Tomcat 6

From http://geoserver.org/display/GEOS/GeoServer+2.2.4:

GDAL extension: geoserver-2.2.4-gdal-plugin.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

From http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.6/:

GDAL native libs: gdal192-Ubuntu11-gcc4.5.2-x86_64.tar.gz
→ extracted to /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/

/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo --version
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: error while loading shared libraries: libltidsdk.so: cannot open shared object file: No such file or directory

I’m wondering whether that gcc version build is supported on your 10.04…

Can you try a “ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo” and check the output?

(I’ve also tried the previous one, gdal1.7.3-linux64-base-gcc43.tar.gz. That doesn’t work either, but didn’t give the libltidsdk.so error.)

It requires a different gdal-bindings jar (the one made for 1.7.3 version) whilst you are trying to use 1.9.2-bindings against 1.7.3 native libs.

ImageIO-Ext version: from imageio-ext-1.1.6-jars.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

gdal-data.zip → extracted to /usr/local/gdal_data

/etc/environment:
LD_LIBRARY_PATH=“/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/”
GDAL_DATA=“/usr/local/gdal_data”

System GDAL: GDAL 1.10dev (compiled from source to add mrsid and ecw). cli gdal utilies work fine with mrsids. e.g. gdal_retile.py built a pyramid from mrsids no problem.

thanks in advance

Gavin

Please, let us know.
Cheers,
Daniele

On 10/06/2013 10:03, Daniele Romagnoli wrote:

Hi Gavin,

can you please provide us some more details on your system?
Which OS are you using?

Which Set of GDAL extensions, ImageIO-EXT version and GDAL native libs are you using?

Please, let us know.
Cheers,
Daniele

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Sat, Jun 8, 2013 at 2:59 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi

I can see all the GDAL raster types and can complete the form for
creation of a MrSID or ECW store. However, when I Save, the screen
doesn’t revert to the Publish screen, yet no errors are returned. I have
to click Cancel. Nevertheless, the store does appear in the list of
stores, yet I cannot create a layer from it. Even on verbose, there’s
nothing obvious in the logs.

Geoserver 2.2.4

Any known issues with this version of Geoserver? I’d appreciate any tips.

I really need to get this working so I can use the MrSIDs as level 0 of
an Image pyramid layer and geotiffs generated by gdal_retile as the
pyramid layers, thus avoiding having to generate a massive level 0 of
geotiffs.


thanks in advance

Gavin


How ServiceNow helps IT people transform IT departments:

  1. A cloud service to automate IT design, transition and operations
  2. Dashboards that offer high-level views of enterprise services
  3. A single system of record for all IT processes
    http://p.sf.net/sfu/servicenow-d2d-j

Geoserver-users mailing list
Geoserver-users@anonymised.comge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Just to tie up this thread:

We got this working by compiling gdal 1.9.2 source with MrSID and ecw support and replacing the system-wide 1.10.

We also removed all settings for LD_LIBRARY_PATH and did not place any gdal libs in the jre/lib dir as before (and as the installation instructions specify), so ImageIO-Ext is simply using the system GDAL.

btw, the --with-threads is no longer supported in gdal config since it is on by default since 1.8.

thanks for your help.

Gavin

···

On 12/06/2013 09:08, Daniele Romagnoli wrote:

Hi Gavin,
That confirms my suspects: On Ubuntu 10.04 there isn’t the proper GLIBCXX version required by the downloadable version.

Since you have built GDAL 1.10dev on your system, you could also try building 1.9.2 (which is the one used by ImageIO-Ext 1.1.6) so that you will be sure to use the system libraries (GLIBC…) you have available on your system.

(Make sure to use the --with-threads config option when configuring the build).

Hope this helps.
Daniele

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Tue, Jun 11, 2013 at 10:49 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi Daniele

No, if I force LD_LIBRARY_PATH I get quite different output and another error:

gavin@anonymised.com:~$ export LD_LIBRARY_PATH=“/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/”
gavin@anonymised.com:~$ ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14’ not found (required by /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSEcw.so.0)
linux-vdso.so.1 => (0x00007fff64be1000)
libgdal.so.1 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libgdal.so.1 (0x00007feec7e19000)
libNCSEcw.so.0 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSEcw.so.0 (0x00007feec7ae5000)
libNCSEcwC.so.0 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSEcwC.so.0 (0x00007feec78e1000)
libNCSCnet.so.0 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSCnet.so.0 (0x00007feec76cd000)
libNCSUtil.so.0 => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libNCSUtil.so.0 (0x00007feec74a8000)
librt.so.1 => /lib/librt.so.1 (0x00007feec7299000)
libdl.so.2 => /lib/libdl.so.2 (0x00007feec7095000)
libltidsdk.so => /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libltidsdk.so (0x00007feec6a69000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007feec684c000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007feec6538000)
libm.so.6 => /lib/libm.so.6 (0x00007feec62b4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007feec609d000)
libc.so.6 => /lib/libc.so.6 (0x00007feec5d17000)
/lib64/ld-linux-x86-64.so.2 (0x00007feec8898000)

On 11/06/2013 11:18, Daniele Romagnoli wrote:

Hi Gavin,
It seems you have multiple GDAL libs and third party libs available on your system (some of them are on /usr/local/lib).

Do you get this output even when forcing the LD_LIBRARY_PATH to refer to the folder where you have extracted the 1.9.2 downloaded ones?

Daniele

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Tue, Jun 11, 2013 at 11:03 AM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi Daniele

ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo
linux-vdso.so.1 => (0x00007fff1def9000)
libgdal.so.1 => /usr/local/lib/libgdal.so.1 (0x00007f70f3c67000)
libNCSEcw.so.0 => /usr/local/lib/libNCSEcw.so.0 (0x00007f70f3929000)
libNCSEcwC.so.0 => /usr/local/lib/libNCSEcwC.so.0 (0x00007f70f3724000)
libNCSCnet.so.0 => /usr/local/lib/libNCSCnet.so.0 (0x00007f70f350e000)
libNCSUtil.so.0 => /usr/local/lib/libNCSUtil.so.0 (0x00007f70f32e8000)
librt.so.1 => /lib/librt.so.1 (0x00007f70f30df000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f70f2edb000)
libltidsdk.so => not found
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f70f2cbd000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f70f29a9000)
libm.so.6 => /lib/libm.so.6 (0x00007f70f2726000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f70f250e000)
libc.so.6 => /lib/libc.so.6 (0x00007f70f2188000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f70f1efb000)
libexpat.so.1 => /lib/libexpat.so.1 (0x00007f70f1cd1000)
libpq.so.5 => /usr/lib/libpq.so.5 (0x00007f70f1aa4000)
libz.so.1 => /lib/libz.so.1 (0x00007f70f188d000)
libpcre.so.3 => /lib/libpcre.so.3 (0x00007f70f165e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f70f4c1e000)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f70f140a000)
libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f70f1078000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f70f0db4000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00007f70f0bb0000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f70f097b000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x00007f70f072f000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f70f0508000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f70f0300000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00007f70f00fd000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007f70efee4000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f70efcd5000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f70efabb000)
libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00007f70ef819000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007f70ef607000)
libgcrypt.so.11 => /lib/libgcrypt.so.11 (0x00007f70ef38f000)
libgpg-error.so.0 => /lib/libgpg-error.so.0 (0x00007f70ef18b000)

On 11/06/2013 09:34, Daniele Romagnoli wrote:

Hi Gavin,
please read below…

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Mon, Jun 10, 2013 at 1:53 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi Daniele

Ubuntu server 10.04 LTS
Geoserver 2.2.4
Tomcat 6

From http://geoserver.org/display/GEOS/GeoServer+2.2.4:

GDAL extension: geoserver-2.2.4-gdal-plugin.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

From http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.6/:

GDAL native libs: gdal192-Ubuntu11-gcc4.5.2-x86_64.tar.gz
→ extracted to /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/

/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo --version
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo: error while loading shared libraries: libltidsdk.so: cannot open shared object file: No such file or directory

I’m wondering whether that gcc version build is supported on your 10.04…

Can you try a “ldd /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/gdalinfo” and check the output?

(I’ve also tried the previous one, gdal1.7.3-linux64-base-gcc43.tar.gz. That doesn’t work either, but didn’t give the libltidsdk.so error.)

It requires a different gdal-bindings jar (the one made for 1.7.3 version) whilst you are trying to use 1.9.2-bindings against 1.7.3 native libs.

ImageIO-Ext version: from imageio-ext-1.1.6-jars.zip
→ extracted to /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/

gdal-data.zip → extracted to /usr/local/gdal_data

/etc/environment:
LD_LIBRARY_PATH=“/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/”
GDAL_DATA=“/usr/local/gdal_data”

System GDAL: GDAL 1.10dev (compiled from source to add mrsid and ecw). cli gdal utilies work fine with mrsids. e.g. gdal_retile.py built a pyramid from mrsids no problem.

thanks in advance

Gavin

Please, let us know.
Cheers,
Daniele

On 10/06/2013 10:03, Daniele Romagnoli wrote:

Hi Gavin,

can you please provide us some more details on your system?
Which OS are you using?

Which Set of GDAL extensions, ImageIO-EXT version and GDAL native libs are you using?

Please, let us know.
Cheers,
Daniele

==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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


On Sat, Jun 8, 2013 at 2:59 PM, Gavin Fleming <gavin@anonymised.com> wrote:

Hi

I can see all the GDAL raster types and can complete the form for
creation of a MrSID or ECW store. However, when I Save, the screen
doesn’t revert to the Publish screen, yet no errors are returned. I have
to click Cancel. Nevertheless, the store does appear in the list of
stores, yet I cannot create a layer from it. Even on verbose, there’s
nothing obvious in the logs.

Geoserver 2.2.4

Any known issues with this version of Geoserver? I’d appreciate any tips.

I really need to get this working so I can use the MrSIDs as level 0 of
an Image pyramid layer and geotiffs generated by gdal_retile as the
pyramid layers, thus avoiding having to generate a massive level 0 of
geotiffs.


thanks in advance

Gavin


How ServiceNow helps IT people transform IT departments:

  1. A cloud service to automate IT design, transition and operations
  2. Dashboards that offer high-level views of enterprise services
  3. A single system of record for all IT processes
    http://p.sf.net/sfu/servicenow-d2d-j

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

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820 

-- 
regards

Gavin

Gavin Fleming
[http://afrispatial.co.za](http://afrispatial.co.za)
t: 0218620670
c: 0845965680
f: 0866164820