[gdal-dev] undefined reference to `json_object_new_array linking with libgdal.a
Even Rouault
even.rouault at spatialys.com
Tue Jul 21 14:02:48 PDT 2020
Luís,
normally GDAL builds out-of-the-box regarding libjson-c on Ubuntu.
You have 2 possibilities, install libjson-c-dev, or let GDAL use its internal
copy of libjson-c.
In your linking attempts, this should be rather -ljson-c than -ljson, but
normally you shouldn't have to do that.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200721/2cc1df9a/attachment.html>
More information about the gdal-dev
mailing list