<div dir="ltr">Even,<div><br></div><div>thanks for the tip. The binaries are build against the stable debian. We will adjust the Dockerfile and republish the binaries soon.</div><div><br></div><div>Regards,</div><div><br></div><div>Petr</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 5, 2015 at 11:21 AM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Petr,<br>
<br>
I can see that the libgdal in the Docker image is linked against /usr/lib/x86_64-linux-gnu/libtiff.so.4<br>
which happens to be 3.9.6-11. GDAL itself contains a copy of libtiff 4.0.X that will get used,<br>
so you can potentially have a mix of libtiff symbols of different ABI that could lead to crashes if an application<br>
links against libgdal and this external libtiff in the wrong order (this isn't a theoretical concern.<br>
The Orfeo Toolbok folks have suffered from that at a time). This linking against system libtiff 3.X<br>
actually comes from libpodofo AFAICS. To be safe in GDAL and avoid any potential symbol clashes,<br>
you'd better add to the configure options of GDAL :<br>
"--with-hide-internal-symbols=yes --with-libtiff=internal --with-rename-internal-libtiff-symbols"<br>
<br>
That's what the UbuntuGIS packagers do.<br>
See for example <a href="https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable/+files/gdal_1.11.0%2Bdfsg-1%7Eexp2%7Etrusty2.debian.tar.gz" target="_blank">https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable/+files/gdal_1.11.0%2Bdfsg-1%7Eexp2%7Etrusty2.debian.tar.gz</a><br>
<br>
That doesn't seem to cause problems in that instance, but this is a bit by chance...<br>
<br>
Even<br>
<div><div class="h5"><br>
> Hi everybody,<br>
><br>
> If you want to use the latest stable GDAL, for example on a newly installed<br>
> Linux machine to do some fast raster data processing with the command-line<br>
> utilities, and you need drivers like MrSID, ECW or Kakadu JPEG2000, you may<br>
> very probably end up compiling everything yourself. It takes time and you<br>
> need to install a lot of dev packages extra to deploy the working<br>
> environment.<br>
><br>
> That's why we created a minimal GDAL in Docker container (about 350MB).<br>
><br>
> On any computer with Docker installed (see<br>
> <a href="https://docs.docker.com/installation/#installation" target="_blank">https://docs.docker.com/installation/#installation</a>) you can download and<br>
> run any GDAL utility with a single command.<br>
><br>
> For example gdalinfo on yourfile.tif stored in local directory:<br>
><br>
> $ docker run -ti --rm -v $(pwd):/data klokantech/gdal gdalinfo yourfile.tif<br>
><br>
> and similar with other GDAL tools. For more details see:<br>
><br>
> <a href="https://registry.hub.docker.com/u/klokantech/gdal/" target="_blank">https://registry.hub.docker.com/u/klokantech/gdal/</a><br>
><br>
> and our blog post:<br>
><br>
> <a href="http://blog.klokantech.com/2015/02/gdal-in-docker-install-run-with-single.h" target="_blank">http://blog.klokantech.com/2015/02/gdal-in-docker-install-run-with-single.h</a><br>
> tml<br>
><br>
> This Docker container has been made to simplify distribution of MapTiler<br>
> Pro, the follower of my GDAL2Tiles, which is now available from<br>
> <a href="http://www.maptiler.com/" target="_blank">http://www.maptiler.com/</a>.<br>
><br>
> Thanks everybody for the great work on GDAL!<br>
><br>
> I hope you find our docker container useful.<br>
><br>
> Regards,<br>
><br>
> Petr<br>
<br>
--<br>
</div></div>Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Petr Pridal, Ph.D.<br>(managing director)<br><br>Klokan Technologies GmbH<br>Hofnerstrasse 96, 6314 Unterageri, Switzerland<br>Tel: +41 (0)41 511 26 12<br>Email: <a href="mailto:info@klokantech.com" target="_blank">info@klokantech.com</a><br>Web: <a href="http://www.klokantech.com/" target="_blank">http://www.klokantech.com/</a></div></div>
</div>