[gdal-dev] Compile problems gdal3.0.2 against proj6

Andreas Neumann a.neumann at carto.net
Tue Nov 19 06:55:57 PST 2019


Hi all, 

The trick explained at
https://trac.osgeo.org/gdal/wiki/BuildingOnUnixGDAL25dev 

seems to have solved my issue. 

Thanks a lot for the hint, 

Andreas 

On 2019-11-19 14:28, Even Rouault wrote:

> Andreas,
> 
>> So this seems like it links to the old version of proj. Why is using
>> this one if I specified "--with-proj=/usr/local" ?
> 
> GDAL build system doesn't use rpath mechanism for linking, so if there are 
> several libproj.so in the path used for linking it will use the first or last 
> one, I never remember :-).
> Anyway, even if you manage to build, you're bound to run into runtime problems 
> if you intend to link GDAL against PROJ 6 and spatialite built against an 
> older PROJ.
> 
> So 2 ways:
> - uninstall the proj development package, and build spatialite against proj6 
> too
> - or use the trick at https://trac.osgeo.org/gdal/wiki/BuildingOnUnixGDAL25dev
> 
> Even
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20191119/6ee0bec8/attachment.html>


More information about the gdal-dev mailing list