[gdal-dev] Lame question, but failing to build GDAL 3.0.0RC2 against Proj 6.0.0
Even Rouault
even.rouault at spatialys.com
Wed May 8 00:41:21 PDT 2019
On mardi 7 mai 2019 16:42:41 CEST Simon Eves wrote:
> That's what I have, even if that's not what I wrote.
>
> simon.eves at football:~/scratch/gdal3/gdal-3.0.0$ echo $LD_LIBRARY_PATH
> /home/simon.eves/scratch/gdal3/install/lib:/usr/local/mapd-deps/lib64:/usr/l
> ocal/mapd-deps/lib:/usr/local/cuda/lib64:
> simon.eves at football:~/scratch/gdal3/gdal-3.0.0$ ./configure --without-geos
> --with-libkml=/usr/local/mapd-deps
> --with-proj=/home/simon.eves/scratch/gdal3/install
> ...
> simon.eves at football:~/scratch/gdal3/gdal-3.0.0$ make
> ...
> (cd apps; make)
> make[1]: Entering directory '/home/simon.eves/scratch/gdal3/gdal-3.0.0/apps'
> /bin/bash /home/simon.eves/scratch/gdal3/gdal-3.0.0/libtool --mode=link
> --silent g++ gdalinfo_bin.lo /home/simon.eves/scratch/gdal3/gdal-3.0.0/
> libgdal.la -o gdalinfo
> /home/simon.eves/scratch/gdal3/gdal-3.0.0/.libs/libgdal.so: undefined
> reference to `proj_alter_name'
> [etc.]
Look at the output of
ldd /home/simon.eves/scratch/gdal3/gdal-3.0.0/.libs/libgdal.so | grep proj
It should normally point to the libproj.so.15 of
/home/simon.eves/scratch/gdal3/install/lib
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list