[Live-demo] libtiff and gdal 1.8

Even Rouault even.rouault at mines-paris.org
Tue Aug 23 10:34:15 PDT 2011


Le mardi 23 août 2011 19:11:29, Johan Van de Wauw a écrit :
> Hello everybody,
> 
> While checking the osgeo-live dvd I noticed that saga no longer can
> open geotiff files. I'm adding ubuntugis and debian-gis in cc: as this
> issue also affects ubuntugis-unstable and debian experimental.
> The same is true for the orfeo toolbox [1] and most likely other
> software using gdal.
> 
> I'd suggest updating the debian rules file to make sure that we use
> the system library for libtiff. This disables some functionality in
> libtiff >4 (like bigtiffs), but I think this is only a minor nuisance
> compared to not having access to geotiff files at all in some
> applications.

Note that the test that disabled the GTiff driver when both internal and 
external libtiff are detected has been relaxed in GDAL 1.8.1 by commit 
http://trac.osgeo.org/gdal/changeset/22461/branches/1.8/gdal/frmts/gtiff since 
it seemed to be an annoyance for quite a number of people where the mix of 
libtiff versions happened to work before. So the driver is no longer disabled, 
but a warning is still emitted since depending on the linking order between 
GDAL and external libtiff, you could observe crashes.

A better solution has been found and will be available in GDAL 1.9.0. See 
http://trac.osgeo.org/gdal/ticket/4144

> 
> Here is a debdiff showing the difference that should be applied in
> ubuntugis-unstable to achieve this:
> 
> diff -Nru gdal-1.8.0/debian/rules gdal-1.8.0/debian/rules
> --- gdal-1.8.0/debian/rules     2011-06-13 17:57:09.000000000 +0200
> +++ gdal-1.8.0/debian/rules     2011-08-23 18:27:31.000000000 +0200
> @@ -68,7 +68,7 @@
>                         --with-threads \
>                         --with-grass=no \
>                         --with-hide-internal-symbols=yes \
> -                       --with-libtiff=internal \
> +                       --with-libtiff=/usr/include \
>                         --with-geotiff=internal \
>                         --with-jasper \
>                         --with-netcdf \
> 
> [1] http://bugs.orfeo-toolbox.org/view.php?id=296
> _______________________________________________
> Live-demo mailing list
> Live-demo at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/live-demo
> http://wiki.osgeo.org/wiki/Live_GIS_Disc



More information about the Osgeolive mailing list