[gdal-dev] gdal and proj

Sebastiaan Couwenberg sebastic at xs4all.nl
Fri Mar 8 07:32:46 PST 2019


On 3/8/19 4:30 PM, Greg Troxel wrote:
> Sebastiaan Couwenberg <sebastic at xs4all.nl> writes:
> 
>> On 3/8/19 2:11 PM, Greg Troxel wrote:
>>> 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.
>>
>> Looks like you don't use the --with-static-proj4 configure option which
>> was renamed to --with-proj in 2.3.0.
> 
> Are you saying that just building gdal without configuring options means
> there is no proj support in gdal, and that you have to give an
> affirmative --with-proj?  I didn't guess that, as usually configure
> finds things that are wanted normally.

I am not saying that. I just know that the Debian package has explicitly
enabled the PROJ support in GDAL with those configure options since
before I was involved, and the resulting libgdal.so has libproj.so.13 in
its NEEDED section.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


More information about the gdal-dev mailing list