[DebianGIS-dev] Bug#558733: Bug#558733: [libgdal1-1.6.0] Reading tiff file causes segfault when linked also with geotiff

Francesco P. Lovergine frankie at debian.org
Mon Nov 30 22:53:50 UTC 2009


On Mon, Nov 30, 2009 at 03:18:53PM +0800, Emmanuel Christophe wrote:
> 
> When a program is linked to geotiff and gdal, a segfault appear when
> reading tiff files
> 
> This seems related to the use of the
> with-hide-internal-symbols
> during compilation of the gdal included in the debian package.
> 

That flag is used for a good reason: using the internal bigtiff-enabled library
instead of the system one, which has also few fixes in respect with libtiff4. 
Those issues will be definitively fixed *when* libtiff5 will be moved in
main (after its definitive release I assume). In the meantime third
parties modules should link in the right order the two libs (gdal and
tiff) to avoid problems.

Another possibility would be adopting GNU ld versioned symbols in the internal
library, which could be used as a dirty trick to work around the
problem: I will do some tests about that.


-- 
Francesco P. Lovergine





More information about the Pkg-grass-devel mailing list