[gdal-dev] Add capability to safely link against an external libtiff (3.X) and a GDAL build with internal libtiff (4.0) support

Antonio Valentino antonio.valentino at tiscali.it
Mon Jul 4 13:43:17 EDT 2011


Hi Even,

Il 03/07/2011 19:02, Even Rouault ha scritto:
>  
>> Do you have some particular indication about how to test it?
>> Which test programs did you use?
> 
> My tests mainly consisted in checking that GDAL would compile and link 
> successfully with various combinations of the configure options.
> 
> With the renaming options enabled, I did a "objdump -t libgdal.so | awk 
> '{print $6}' | grep TIFF | grep -v TIFFjpeg_ | grep -v aig_ | grep -v gdal_ | 
> sort -u" to ensure that all the symbols that should be renamed are. You will 
> notice a few remaining occurrences but I think they are safe.
> 
> Also, when the renaming options where enabled, I added -ltiff -lgeotiff to the 
> gdalinfo linking line, before or after -lgdal, and tested the executable on a 
> few files.
> 

Even, all tests i performed (ubuntu 11.04 only) passed successfully so I
can confirm that the patch works.

My only concern is that I'm not able to reproduce the crash in cases in
which GDAL is built without symbol renaming.

Anyway I have still not tried test programs suggested by Julien.


regards

-- 
Antonio Valentino


More information about the gdal-dev mailing list