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
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to