Hello,

On Mon, 05 Jul 2010, Emmanuel Christophe wrote:
> However, the latest Ubuntu (10.4) which uses the same gdal, tiff,
> geotiff versions as the debian testing does not have this problem:
> both
> $ ./gdalHideSymbols-gtiffgdal ROI_QB_MUL_4.tif
> $ ./gdalHideSymbols-gdalgtiff ROI_QB_MUL_4.tif
> (from the test case shown at
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558733)
> 
> complete without segfault on Ubuntu using the standard packages.
> 
> I could not find any differences in the compilation options between
> the debian and the ubuntu gdal package (both use the
> with-hide-internal-symbols). The patch applied to gdal for Ubuntu is
> different though.

There is an important difference though:
$ dpkg-buildflags --get LDFLAGS

$ DEB_VENDOR=ubuntu dpkg-buildflags --get LDFLAGS
-Wl,-Bsymbolic-functions

libgdal should be built with this linker option so that
it always uses the local copy of the geotiff functions
and not the one provided by the external library.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to