[postgis-tickets] [PostGIS] #4528: --with-jsondir is broken in 3.0.0
PostGIS
trac at osgeo.org
Mon Oct 7 02:07:50 PDT 2019
#4528: --with-jsondir is broken in 3.0.0
-----------------------+---------------------------
Reporter: jabakobob | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.0.0
Component: postgis | Version:
Keywords: |
-----------------------+---------------------------
Building with --with-jsondir no longer works in PostGIS 3.0.0beta1. It
does work with PostGIS 2.5.3.
Here's the relevant snippet from config.log:
{{{
configure:17345: checking for json_object_get in -ljson-c
configure:17370: gcc -o conftest -std=gnu99 -mmacosx-version-min=10.12
-fno-math-errno -fno-signed-zeros conftest.c -ljson-c >&5
ld: library not found for -ljson-c
}}}
Looking at a diff of configure.ac, it seems that the problem is that the
following line is missing in version 3.0.0:
{{{
JSON_LDFLAGS="-L$JSONDIR/lib"
}}}
Additionally, it seems that the `HAVE_LIBJSON_C` variable is no longer
necessary and should probably be removed.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4528>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list