[Ubuntu] [Fwd: [QGIS-trac] [Quantum GIS] #3830: no tiff support
in Ubuntu 11.04 with ubuntugis gdal (1.8.0)]
Julien Malik
julien.malik at c-s.fr
Wed May 18 06:42:48 EDT 2011
Hello Giovanni,
Firstly, there is nothing specific to natty : if the program links to
the system libtiff, you will have the problem on all the distributions.
The problem comes from the gdal 1.8 source code, where the GTiff driver
is disabled when a tiff version mismatch is detected. This update made
our packages based on ubuntugis-unstable repo unusable (we need to link
to libtiff, so all our binaries would lost TIFF support).
The fix I came out with is to patch the gdal18 debian package to still
register the driver, even if the libtiff version mismatch is issued.
The patched gdal 18 package is available in :
https://launchpad.net/~otb/+archive/orfeotoolbox-nightly
Maybe you can add this repository, reinstall gdal (should pick the
1.8.0-2~natty1+otb1 version), and check if it fixes your problem.
In case it fixes the problem, it will be worth considering integrating
the patch into the ubuntugis package. What are other people's opinion on
this ? Personnally, I'm happy to throw away my patched gdal package
This patch should be only temporary, as the Debian folks are working on
a better solution with versioned symbols, which will fix those kind of
issues.
Julien
Le 18/05/2011 09:48, Giovanni Manghi a écrit :
> Hi all,
>
> any fix on sight for this?
>
>
> thanks in advance
>
> .. Giovanni --
>
> -------- Forwarded Message --------
>> From: Quantum GIS<qgis at qgis.org>
>> Reply-to: trac at osgeo.org
>> Cc: qgis-trac at lists.osgeo.org
>> Subject: [QGIS-trac] [Quantum GIS] #3830: no tiff support in Ubuntu
>> 11.04 with ubuntugis gdal (1.8.0)
>> Date: Tue, 17 May 2011 23:16:38 -0000
>>
>> #3830: no tiff support in Ubuntu 11.04 with ubuntugis gdal (1.8.0)
>> ------------------------------------------------+---------------------------
>> Reporter: mayeulk | Owner: nobody
>> Type: bug | Status: new
>> Priority: major: does not work as expected | Milestone: Version 1.7.0
>> Component: Build/Install | Version:
>> Keywords: | Platform_version:
>> Platform: Debian | Must_fix: Yes
>> Status_info: 0 |
>> ------------------------------------------------+---------------------------
>> libgdal1-dev for Natty from ubuntugis now provides gdal 1.8.0 only which
>> seems not compatible with the code base or some package (does the code
>> links to libtiff 3.X ?)
>> Trying to open a geotif from latest Quantum-GIS-3eb0d66 (release-1_7_0
>> downloaded Sunday 15 May at 13:08) gives:
>>
>> "/path/file.tif is not a valid or recognized data source
>> WARNING ! libtiff version mismatch : You're linking against libtiff 3.X
>> but GDAL has been compiled against libtiff>= 4.0.0"
>>
>> The guys from orfeo toolbox seems to have the same issue since about 11th
>> of May, when "gdal 1.8 debian package has been pushed to ubuntugis-
>> unstable repository for all ubuntu versions." The consequence being "the
>> otb packages cannot open a TIFF any more". See:
>> http://bugs.orfeo-toolbox.org/view.php?id=296
>>
>> Installed is: libtiff4-dev (3.9.4-5ubuntu6)
>>
>
> _______________________________________________
> UbuntuGIS mailing list
> Ubuntu at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/ubuntu
> http://trac.osgeo.org/ubuntugis/wiki
>
More information about the Ubuntu
mailing list