[gdal-dev] Lame question, but failing to build GDAL 3.0.0RC2 against Proj 6.0.0

Simon Eves simon.eves at omnisci.com
Wed May 8 09:03:02 PDT 2019


No, it shows /usr/lib/x86_64-linux-gnu/libproj.sso.12 (the system-installed
Proj 5.2.0)

I did not expect the system libs to come into play at all if I used
--with-proj for the GDAL configure, and $LD_LIBRARY_PATH had the Proj 6 DSO
directory first.

I'll try it all again from scratch.

Simon

On Wed, May 8, 2019 at 12:41 AM Even Rouault <even.rouault at spatialys.com>
wrote:

> 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
>


-- 
<http://www.omnisci.com/>
Simon Eves
Senior Graphics Engineer, Rendering Group
OmniSci, 1 Front St. #2650, San Francisco, CA 94111, USA


Email: simon.eves at omnisci.com | Cell:  415.902.1996
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190508/bda0800c/attachment.html>


More information about the gdal-dev mailing list