[gdal-dev] [Fwd: Re: Problem with gdal-mrsid-src]

Agustin Lobo alobolistas at gmail.com
Mon Jun 15 15:40:44 EDT 2009


FYI
Agus


-------- Original Message --------
Subject: Re: Problem with gdal-mrsid-src
Date: Sat, 13 Jun 2009 12:53:13 +0200
From: Agustin Lobo <Agustin.Lobo at ija.csic.es>
Reply-To: Agustin.Lobo at ija.csic.es
To: Alan Boudreault <aboudreault at mapgears.com>
References: <20090530203254.4919.55334.launchpad at gangotri.canonical.com>
<200906101316.30622.aboudreault at mapgears.com> <4A2FF021.8070101 at ija.csic.es>
<200906101353.58490.aboudreault at mapgears.com> <4A30B9EF.80400 at ija.csic.es>
<4A30E1EA.9060602 at mapgears.com>

Alan,

It does not work on my 8.04 machine.

This is what I do:

1. Complete uninstall using synaptic of all gdal stuff
2. Installation of gdal, includin gdalbin and gdal-mrsid
(see attachment for an screen capture of my synaptic when
I search gdal. There must be a more pro way of checking
which packages I have, but don't know how to do it)
3. Run  sudo /usr/bin/gdal-mrsid-build /usr/local/Geo_DSDK-7.0.0.2167
This is the output:
s$ sudo /usr/bin/gdal-mrsid-build /usr/local/Geo_DSDK-7.0.0.2167
grep: /usr/local/Geo_DSDK-7.0.0.2167/include/support/lt_base.h: No such file or
directory
Extracting GDAL/MrSID tarball
Building GDAL/MrSID plugin
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for g++ -shared ... yes
checking for gdal-config... /usr/bin/gdal-config
using /usr/lib/gdal16plugins as GDAL shared library autoload directory
checking for lt_base.h in /usr/local/Geo_DSDK-7.0.0.2167/include/support... not
found.
checking for lt_base.h in /usr/local/Geo_DSDK-7.0.0.2167/include... found MrSID
DSDK version 7.x or newer.
checking for MG3ImageWriter.h in
/usr/local/Geo_DSDK-7.0.0.2167/include/mrsid_writers... no encoding support.
checking for MrSID JPEG2000 support... enabled
checking for XTIFFClientOpen in -lgeotiff... yes
configure: creating ./config.status
config.status: creating Makefile
g++ -DFRMT_mrsid -Wall -I/usr/local/Geo_DSDK-7.0.0.2167/include
-I/usr/include/geotiff -fPIC  -DFRMT_mrsid -I/usr/include/gdal -DMRSID_J2K
-I/usr/local/Geo_DSDK-7.0.0.2167/include -I/usr/include/geotiff   -c -o
mrsiddataset.o mrsiddataset.cpp
g++ -DFRMT_mrsid -Wall -I/usr/local/Geo_DSDK-7.0.0.2167/include
-I/usr/include/geotiff -fPIC  -DFRMT_mrsid -I/usr/include/gdal -DMRSID_J2K
-I/usr/local/Geo_DSDK-7.0.0.2167/include -I/usr/include/geotiff   -c -o
mrsidstream.o mrsidstream.cpp
g++ -shared  mrsiddataset.o mrsidstream.o -lgeotiff
-L/usr/local/Geo_DSDK-7.0.0.2167/lib/Release
-L/usr/local/Geo_DSDK-7.0.0.2167/3rd-party/lib/Release -lltidsdk -lpthread
-llt_kakadu -L/usr/lib -lgdal1.6.0  -o gdal_MrSID.so
install -d /usr/lib/gdal16plugins
cp gdal_MrSID.so /usr/lib/gdal16plugins

4. But...
$ gdalinfo /media/Transcend/Mario/N-31-50_2000/N-31-50_2000/N-31-50_2000.sid
ERROR 1: /usr/lib/gdal16plugins/gdal_MrSID.so: undefined symbol:
_ZNSs20_S_empty_rep_storageE
ERROR 1: /usr/lib/gdal16plugins/gdal_MrSID.so: undefined symbol:
_ZNSs20_S_empty_rep_storageE
ERROR 4: `/media/Transcend/Mario/N-31-50_2000/N-31-50_2000/N-31-50_2000.sid' not
recognised as a supported file format.

gdalinfo failed - unable to open
'/media/Transcend/Mario/N-31-50_2000/N-31-50_2000/N-31-50_2000.sid'.


Am I doing something wrong? Is it working for others on ubuntu 8.04 ??
Don't know what to do.

Thanks

Agus

Alan Boudreault wrote:
> Try the new version. We'll see if you still have problems.
> 
> Alan
> 
> Agustin Lobo wrote:
>> with the same version that I was testing? what could be wrong in
>> my test then? I'll try again on Saturday, I'm away from that
>> computer until then.
>>
>> Agus
>>
>> Alan Boudreault wrote:
>>> That already work properly on 8.04. I've tested .sid and .jp2.
>>>
>>> Alan
>>>
>>> On June 10, 2009 01:40:49 pm Agustin Lobo wrote:
>>>> any hope on having this working for 8.04?
>>>> Agus
>>>>
>>>> Alan Boudreault wrote:
>>>>> Hi,
>>>>>
>>>>> Yes, I've tested one MrSID image of 270mb from the site.
>>>>>
>>>>> Thanks,
>>>>> Alan
>>>>>
>>>>> On June 10, 2009 12:59:36 pm Agustin Lobo wrote:
>>>>>> Did you manage to download it?
>>>>>> Agus
>>>>>>
>>>>>> Alan Boudreault wrote:
>>>>>>> Hi Agustin,
>>>>>>>
>>>>>>> Could you send me that file: of5mv50sd0f299112ss0r051.sid ? I would
>>>>>>> like to test it.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Alan
>>>>>>>
>>>>>>> On June 5, 2009 01:49:42 pm Agustin Lobo wrote:
>>>>>>>> Thanks, please keep me posted, this is an important matter
>>>>>>>> for me. Also, have you considered a similar approach for ecw?
>>>>>>>>
>>>>>>>> Agus
>>>>>>>>
>>>>>>>> Alan Boudreault wrote:
>>>>>>>>> Hi Agustin,
>>>>>>>>>
>>>>>>>>> This problem has been reported on the UbuntuGIS mailing list 
>>>>>>>>> and I'm
>>>>>>>>> going to investigate in it as soon as I can.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Alan
>>>>>>>>>
>>>>>>>>> On June 4, 2009 01:41:11 pm Agustin Lobo wrote:
>>>>>>>>>> More testing:
>>>>>>>>>>
>>>>>>>>>> 1. In the intrepid machine:
>>>>>>>>>> While gdalinfo --formats lists mrsid, I get the following 
>>>>>>>>>> error at
>>>>>>>>>> reading: $ gdalinfo N-31-50_2000.sid
>>>>>>>>>> gdalinfo: symbol lookup error: 
>>>>>>>>>> /usr/lib/gdal16plugins/gdal_MrSID.so:
>>>>>>>>>> undefined symbol: _ZN12LTIVSIStreamC1Ev
>>>>>>>>>>
>>>>>>>>>> 2. This is the same error that I get in QGIS: at reading a mrsid
>>>>>>>>>> file, qgis crashes and the same message is found in the terminal.
>>>>>>>>>>
>>>>>>>>>> 3. In the hardy machine.
>>>>>>>>>> While the installation works, gdalinfo --formats does not
>>>>>>>>>> list mrsid and:
>>>>>>>>>> $ gdalinfo N-31-50_2000.sid
>>>>>>>>>> ERROR 1: /usr/lib/gdal16plugins/gdal_MrSID.so: undefined symbol:
>>>>>>>>>> _ZNSs20_S_empty_rep_storageE
>>>>>>>>>> ERROR 1: /usr/lib/gdal16plugins/gdal_MrSID.so: undefined symbol:
>>>>>>>>>> _ZNSs20_S_empty_rep_storageE
>>>>>>>>>> ERROR 4: `N-31-50_2000.sid' not recognised as a supported file
>>>>>>>>>> format.
>>>>>>>>>>
>>>>>>>>>> gdalinfo failed - unable to open 'N-31-50_2000.sid'.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Hope this helps! Let me know if can do anything more.
>>>>>>>>>> Thanks a lot for your work
>>>>>>>>>>
>>>>>>>>>> Agus
>>>>>>>>>>
>>>>>>>>>> Alan Boudreault wrote:
>>>>>>>>>>> Hi Agustin,
>>>>>>>>>>>
>>>>>>>>>>> I've found the problem. There was a bug in the libgeotiff 
>>>>>>>>>>> package.
>>>>>>>>>>> I compiled a new package and uploaded it in UbuntuGIS. Now,
>>>>>>>>>>> everything should ok with gdal-mrsid-src after updating apt-get:
>>>>>>>>>>> `apt-get update` and reinstalling the new version of 
>>>>>>>>>>> libgeotif1.2
>>>>>>>>>>> and libgeotiff-dev.
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Alan
>>>>>>>>>>>
>>>>>>>>>>> On May 31, 2009 01:14:51 pm Agustin Lobo wrote:
>>>>>>>>>>>> Thank you for your interest!
>>>>>>>>>>>> Agus
>>>>>>>>>>>>
>>>>>>>>>>>> Alan Boudreault wrote:
>>>>>>>>>>>>> Hi Agustin,
>>>>>>>>>>>>>
>>>>>>>>>>>>> It seems that the autoconf script works in Debian but not in
>>>>>>>>>>>>> Ubuntu. I will check that as soon as I can (probably 
>>>>>>>>>>>>> tomorrow).
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank for your report.
>>>>>>>>>>>>> Alan
>>>>>>>>>>>>>
>>>>>>>>>>>>> Agustin Lobo wrote:
>>>>>>>>>>>>>> Thanks for the many tools in ubuntugis.
>>>>>>>>>>>>>> After downloading and uncompresing
>>>>>>>>>>>>>> Geo_DSDK-7.0.0.2167.linux.x86.gcc32.tar.gz
>>>>>>>>>>>>>> from
>>>>>>>>>>>>>> http://www.lizardtech.com/developer/members/downloads.php
>>>>>>>>>>>>>> (there is also Geo_DSDK-7.0.0.2167.linux.x86.gcc41.tar.gz
>>>>>>>>>>>>>> don't really know which one is better)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I've found a problem with gdal-mrsid-src:
>>>>>>>>>>>>>> When I run the GDAL MrSID building script:
>>>>>>>>>>>>>> $ sudo /usr/bin/gdal-mrsid-build 
>>>>>>>>>>>>>> /usr/local/Geo_DSDK-7.0.0.2167
>>>>>>>>>>>>>>  I get:
>>>>>>>>>>>>>> configure: error: libgeotiff is required to build GDAL MrSID
>>>>>>>>>>>>>> driver
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> despite having libgeotiff1-2 and libgeotiff-dev
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> It seems there is a broken dependency?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'm using ubuntu 8.04 hardy
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Agus
>>>
>>
> 
> 

-- 
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster


-------------- next part --------------
A non-text attachment was scrubbed...
Name: alobolistas.vcf
Type: text/x-vcard
Size: 251 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090615/c5c90756/alobolistas.vcf


More information about the gdal-dev mailing list