[gdal-dev] installing GDAL with a custom installation of zlib

Even Rouault even.rouault at mines-paris.org
Tue Jul 16 10:59:03 PDT 2013


Le mardi 16 juillet 2013 18:55:40, fred p a écrit :
> Hello,
> 
> On a Linux platform, I have two versions of zlib :
> - the older version is installed with the system in /usr/lib64
> - the newer version is installed in a non standard directory
> 
> I launch the configure tool with the appropriate --with-zlib=/path/to/the/
> newer/version/of/zlib
> 
> When compiling, this directory is actually used. But when I execute the
> 'make install' command, the binary tools I get depend on the older zlib
> instead of the newer.
> 
> Can someone provide me some help ? Do I miss something ?

It is possible that a -L/usr/lib64 is in the linking line in GDALmake.opt. 
Look at it and remove it if found. Another possibility is that your GDAL build 
links to another library that links itself with the system zlib

> 
> Thanks in advance.

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list