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

2019-11-19 Thread Andreas Neumann
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 i

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

2019-11-19 Thread Andreas Neumann
Hi Even, Yes - you are right. Other gdal library dependencies still link to the old version. I will the trick at https://trac.osgeo.org/gdal/wiki/BuildingOnUnixGDAL25dev first, before I try the harder way to recompile all other packages. Thanks, Andreas On 2019-11-19 14:28, Even Rouaul

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

2019-11-19 Thread Even Rouault
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 ne

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

2019-11-19 Thread Andreas Neumann
Hi, Hm - setting the LD_LIBRARY_PATH variable also didn't help. ldd still says that it links to the old proj. Still the same error message. I did a "make clean" to make sure no old stuff is around from previous attempts. Do I really have to purge the old proj version? Then several other of

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

2019-11-19 Thread Andreas Neumann
Hi, Thanks for your reply. Here is the output of configure: -- user@machine:~/dev/gdal-3.0.2$ ./configure --with-python=python3 --with-proj=/usr/local --with-pg=yes --with-spatialite=yes | grep proj /bin/bash: ./config.rpath: No such file or directory checking for PROJ >= 6 l

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

2019-11-19 Thread Mateusz Loskot
On Tue, 19 Nov 2019 at 13:41, Andreas Neumann wrote: > Note that two versions of proj are on my system: the old version in /usr and > the new version in /usr/local - with the configure_param I am pointing it to > the new version. Then, check also what ./configure reports as PROJ version found.

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

2019-11-19 Thread Mateusz Loskot
On Tue, 19 Nov 2019 at 13:41, Andreas Neumann wrote: > I am trying to compile gdal3.0.2 against proj6 - but have problems. > > Proj6 compile worked fine and I installed in /usr/local > > The configure command for gdal is: > > ./configure --with-python=python3 --with-proj=/usr/local --with-pg=yes

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

2019-11-19 Thread Andreas Neumann
Hi, I am trying to compile gdal3.0.2 against proj6 - but have problems. Proj6 compile worked fine and I installed in /usr/local The configure command for gdal is: ./configure --with-python=python3 --with-proj=/usr/local --with-pg=yes --with-spatialite=yes The last part of the compile outp