[postgis-users] JSONC compilation issues

Light wangdapeng20191008 at gmail.com
Thu Sep 21 02:24:17 PDT 2023


postgis 3.3.4
json-c 0.15

When I compiled 334, jsonc did not use environment variables. I used
--with-jsondir=/usr/local/json-c-0.15. I confirmed that json-c-0.15 is
configure record:
Check "/usr/local/json-c-0.15/include/json-c/json.h"...yes
Check json_object_get... in -ljson-c no
JSON-C support: no

Check line 985 of configure.ac, `JSON_LDFLAGS="-L$JSONDIR/lib"`. The reason
here is that json_object_get cannot be found in jsonc later.
My json-c-0.15 folder is not called "lib", but "lib64".

Is it necessary to make a judgment here, for 32-bit and 64-bit?

When I modify
everything works fine.

Wang Dapeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20230921/39d00e00/attachment.htm>

More information about the postgis-users mailing list