[Qgis-developer] Re: Problem readingn geotif file with qgis 1.7.3

Agustin Lobo alobolistas at gmail.com
Tue Dec 13 08:31:47 EST 2011


The problem is caused by a faulty libgdal1-1.8.0 in ubuntugis-unstable

A solution has been suggested by Julien Malik
(see http://orfeo-toolbox.org/otb/) as he had had this problem few weeks ago
and actually made a correctly build libgdal for otb.

The solution is:
1. Make sure you have the otb repo in your list:
http://ppa.launchpad.net/otb/orfeotoolbox-stable-ubuntugis/ubuntu
(in my case, lucid)
2. Run
sudo aptitude install libgdal1-1.8.0=1.8.0-2~lucid2+otb2
libgdal1-dev=1.8.0-2~lucid2+otb2
3. Start QGIS. The tif files can be read and displayed again.

Now I have libgdal1-1.8.0 flagged as upgradeable in Synaptic, but will
not do it until the
package is fixed there.

Thanks a lot Julien!

Agus

2011/12/12 Agustin Lobo <alobolistas at gmail.com>:
> Just upgraded to qgis 1.7.3 using the ubuntugis-unstable repo
> and cannot open geotif files:
> /media/Iomega_HDD/MASTER_ICTA2007_2008/GEODATA_miniprojs/mtc250/mtc250v5f1r01.tif
> is not a supported raster data source
> WARNING ! libtiff version mismatch : You're linking against libtiff
> 3.X but GDAL has been compiled against libtiff >= 4.0.0
>
> My gdal is libgdal1-1.8.0, my libtiff4 is 3.9.2-2. Is this thus a
> problem of having an old version of libtiff in ubuntugis?
>
> Any advice on what I can do?
>
> Thanks,
>
> Agus


More information about the Qgis-developer mailing list