Ciao Luis,
please read below...
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo
-------------------------------------------------------
2010/4/16 Luís de Sousa <luis.a.de.sousa@anonymised.com>:
Ciao Simone,
-1- I would refrain from using sudo to untar/unzip/run tomcat.
I doubt there's a privilege issue with the libs, please check the list
output at the end, they all have execution grants for everyone.
I was speaking in general terms 
-2- as far as I know, GISVM comes with its own presinstalled version
of imageio-ext-gdal
The MrSID option doesn't appear in the new coverage data set list, I
checked that before installing. Nonetheless, I sent a query to the
portuguese OSGeo list for confirmation.
Final note, I regularly work on Ubuntu both 64 and 32 bits with no
probs. You just have to be careful about what you do (and we should
probably find a way to make the installation seamless).
I'm trying to follow the instructions the best I can, they seem to be
pretty straightforward: download, uncompress, set the environment
variables. I could be messing up with the last step, but so far
there's no indication from the logs that I've sent that such is the
case.
Now, searching for other possible versions of gdal I found a series of
them already in GISVM, one with Kosmo, another with gvSIG, etc. If
Geoserver is in trouble because of this, them GISVM may not be the
best of environments to test this. I'll have to try from a fresh
Ubuntu install.
Unfortunately I am not familiar with GISVM, but what I usually do in
my GeoServer (actually it may depend on the servlet container..)
startup script, is that I isolate its LD_LIBRARY_PATH, that should fix
problems with dangling libs
Some questions:
. What directory do you use to store imageio-ext?
On my workstation
/home/simone/work/libpath/gdal-1.4.5
. How do you set the path to the libs directory? With a new file at
/etc/ld.so.conf.d or another way?
. How do you set the path to the srs data directory? With an entry at
etc/environment or another way?
It depends on what I am doing:
- eclipse development -
I set up env var in eclise
-tomcat testing-
I have two options:
--1--
I add the correct definition for LD_LIBRARY_PATH and GDAL_DATA to the
tomcat catalina.sh
--2--
I change the same definitions in my user's startup scripts so that I
override other installations
Keep questions coming, if you need to!
Ciao,
Simone.
Thanks once more,
Luís
---
user@anonymised.com:~$ ls -la /usr/local/tomcat/webapps/geoserver/imageio-ext
total 21108
drwxr-xr-x 2 root root 4096 2009-10-02 10:38 .
drwxr-xr-x 15 root root 4096 2010-04-16 07:00 ..
-rwxr-xr-x 1 root root 20579 2009-10-02 10:38 gdalinfo
-rw-r--r-- 1 root root 5857386 2009-10-26 07:30
imageio-ext-1.0.5-linux32-mrsid-ecw-lib.tar.gz
-rwxr-xr-x 1 root root 27533 2009-10-02 10:37 libgdalconstjni.so
-rwxr-xr-x 1 root root 103757 2009-10-02 10:37 libgdaljni.so
lrwxrwxrwx 1 root root 17 2010-04-16 05:54 libgdal.so -> libgdal.so.1.11.4
lrwxrwxrwx 1 root root 17 2010-04-16 05:54 libgdal.so.1 ->
libgdal.so.1.11.4
-rwxr-xr-x 1 root root 7450080 2009-10-02 10:31 libgdal.so.1.11.4
lrwxrwxrwx 1 root root 19 2010-04-16 05:54 libNCSCnet.so ->
libNCSCnet.so.0.0.0
lrwxrwxrwx 1 root root 19 2010-04-16 05:54 libNCSCnet.so.0 ->
libNCSCnet.so.0.0.0
-rwxr-xr-x 1 root root 512276 2009-10-02 10:19 libNCSCnet.so.0.0.0
lrwxrwxrwx 1 root root 19 2010-04-16 05:54 libNCSEcwC.so ->
libNCSEcwC.so.0.0.0
lrwxrwxrwx 1 root root 19 2010-04-16 05:54 libNCSEcwC.so.0 ->
libNCSEcwC.so.0.0.0
-rwxr-xr-x 1 root root 75193 2009-10-02 10:19 libNCSEcwC.so.0.0.0
lrwxrwxrwx 1 root root 18 2010-04-16 05:54 libNCSEcw.so ->
libNCSEcw.so.0.0.0
lrwxrwxrwx 1 root root 18 2010-04-16 05:54 libNCSEcw.so.0 ->
libNCSEcw.so.0.0.0
-rwxr-xr-x 1 root root 6560579 2009-10-02 10:19 libNCSEcw.so.0.0.0
lrwxrwxrwx 1 root root 19 2010-04-16 05:54 libNCSUtil.so ->
libNCSUtil.so.0.0.0
lrwxrwxrwx 1 root root 19 2010-04-16 05:54 libNCSUtil.so.0 ->
libNCSUtil.so.0.0.0
-rwxr-xr-x 1 root root 729131 2009-10-02 10:19 libNCSUtil.so.0.0.0
-rwxr-xr-x 1 root root 102113 2009-10-02 10:37 libogrjni.so
-rwxr-xr-x 1 root root 80987 2009-10-02 10:37 libosrjni.so
user@anonymised.com:~$ sudo find / -name "libgdal.so*" -type f -print
/usr/lib/ogdi/libgdal.so
/usr/local/tomcat/webapps/geoserver/imageio-ext/libgdal.so.1.11.4
/root/.local/share/Trash/files/Kosmo-1.2.1/libs/libgdal.so.1
/root/.local/share/Trash/files/Kosmo-1.2.1/libs/libgdal.so.1.10.0
/root/.local/share/Trash/files/Kosmo-1.2.1/libs/libgdal.so
/home/user/FWTools-2.0.6/lib/libgdal.so.1.6.0
/home/user/gvSIG/libs/libgdal.so.1.10.0
find: /home/user/.gvfs: Permission denied
/home/user/Kosmo-1.2.1/libs/libgdal.so.1
/home/user/Kosmo-1.2.1/libs/libgdal.so.1.10.0
/home/user/Kosmo-1.2.1/libs/libgdal.so
user@anonymised.com:~$