[gdal-dev] gdal and proj

Andrew C Aitchison andrew at aitchison.me.uk
Fri Mar 8 05:36:49 PST 2019


On Fri, 8 Mar 2019, Greg Troxel wrote:

> I am updating gdal from 2.2 to 2.3 in pkgsrc.  (Yes, I know 2.2 is old -
> I had held off because of several reasons, including the new C++11
> requirement.  And I know 2.4.0 is out, but I like to have an update to
> each branch in the history.)
>
> In doing the update, I'm trying to check it against proj 5.2.0
> (currently in pkgsrc) and 6.0.0 (not pushed, because too many things
> break).
>
> But, I can't see where proj is actually linked.  configure seems to
> simply declare that it will be dynamic if there is no explicit request
> to use the version 4 API.  I don't see it linked into ligdal.so, or
> ogr2ogr, or any other file that is produced.   I don't find HAVE_PROJ in
> makefiles to add -lproj.

"dynamic" is misleading with reference to proj.
I don't remember the details, but I think it refers to a build option
more like a dll or plugin than a .so

> I'm happy to read some of the code/makefiles, but would appreciate a
> brief clue.



More information about the gdal-dev mailing list