[Ubuntu] libtiff and gdal 1.8

Johan Van de Wauw johan.vandewauw at gmail.com
Tue Aug 23 13:11:29 EDT 2011


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.

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


More information about the Ubuntu mailing list