[gdal-dev] geotiff conflict

Even Rouault even.rouault at mines-paris.org
Tue Apr 26 15:34:17 EDT 2011


> All this comes from the fact that Orfeo Toolbox has ossim as one of
> its main dependency, and ossim handles TIFF via libgeotiff and not via
> gdal.
> For example :
> http://trac.osgeo.org/ossim/browser/trunk/ossim/src/ossim/support_data/ossi
> mGeoTiff.cpp which makes extensive use of the geotiff API.
> Other TIFF/GeoTIFF related files are :
> imaging/ossimTiffOverviewBuilder.cpp
> imaging/ossimTiffWriter.cpp
> imaging/ossimTiffTileSource.cpp

ok, I guess it is their native tiff reader/writer.

> > - or make libtiff 4.X the system libtiff version (as in debian
> > experimental)
> 
> OK. What prevents from it ? Is it API/ABI incompatible with previous
> versions ?
> For example, could libtiff 4.X be packaged in ubuntugis repository and
> not break other packages ?

No, libtiff 3.X and 4.X are not ABI compatible, and have also a few API 
differences (but that are small enough so that the GDAL GTiff driver can be 
built against both)

> This crazy idea came to my mind also : a configure option which would
> allow prefixing all symbols exported by libtiff and libgeotiff.
> But this means 2 projects to modify. Surely harder to achieve than
> other solution.

The whole question is how to implement such a configuration option.


More information about the gdal-dev mailing list