[gdal-dev] [saga-gis-developer] the output image is cut to half

Salvatore Larosa lrssvtml at gmail.com
Thu Jun 28 01:11:22 PDT 2012


I think this could be the cause of my problem with output saga images!

Any idea on how avoid libtiff version mismatch?
I refer at 1.9.1 version!

Il giorno gio, 28/06/2012 alle 09.35 +0200, Volker Wichmann ha scritto:
> Hi Salvatore,
> 
> On 06/27/2012 03:29 PM, Salvatore Larosa wrote:
> >> "Warning 1: libtiff version mismatch : You're linking against libtiff
> >> 3.X, but GDAL has been compiled against libtiff >= 4.0.0"
> >
> > Actually I have some problem with libtiff. I compiled gdal with external
> > libtiff I recompiled saga and now:
> >
> > # ldd libgdal.so | grep libtiff
> > 	libtiff.so.4 => /usr/lib/x86_64-linux-gnu/libtiff.so.4
> > (0x00007f46ec898000)
> >
> > # ldd libio_gdal.so | grep libtiff
> > 	libtiff.so.4 => /usr/lib/x86_64-linux-gnu/libtiff.so.4
> > (0x00007f07608ce000)
> >
> > both the versions are matching!
> > But I still get thr Warning message!


> 
> I think this is a GDAL issue, the message is actually printed from
> 
> ./frmts/gtiff/geotiff.cpp:                     "libtiff version mismatch 
> : You're linking against libtiff 3.X, but GDAL has been compiled against 
> libtiff >= 4.0.0");
> 
> In the file, line 9110, there is also a comment:
> 
> /* This is a frequent configuration error that is difficult to track down */
> /* for people unaware of the issue : GDAL built against internal libtiff 
> (4.X) */
> /* but used by an application that links with external libtiff (3.X) */
> /* Note: on my conf, the order that cause GDAL to crash - and that is 
> detected */
> /* by the following code - is "-ltiff -lgdal". "-lgdal -ltiff" works for 
> the */
> /* GTiff driver but probably breaks the application that believes it 
> uses libtiff 3.X */
> /* but we cannot detect that... */
> 
> 
> In the news file there are further hints:
> 
> ./NEWS: * Don't prevent from loading GTiff driver even if libtiff 
> version mismatch detected (#4101)
> ./NEWS: * Try to detect build-time vs runtime libtiff version mismatch 
> (*nix only)
> 
> 
> I would guess that you still observe this conflict,
> best regards,
> Volker
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> saga-gis-developer mailing list
> saga-gis-developer at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/saga-gis-developer

-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode



More information about the gdal-dev mailing list