[gdal-dev] undefined reference to `json_object_new_array linking with libgdal.a

Sebastiaan Couwenberg sebastic at xs4all.nl
Wed Jul 22 20:50:03 PDT 2020


On 7/22/20 8:38 PM, LuĂ­ s Moreira de Sousa wrote:
> I work with GDAL installed from the Ubuntu GIS repository.

There is no gdal for focal in the UbuntuGIS PPA.

> I could not verify, but I doubt it is compiled with the --with-hide-internal-symbols flag.

The gdal packages in the UbuntuGIS PPA like those in Ubuntu use the same
packaging as in Debian and that uses --with-hide-internal-symbols, see:

 https://salsa.debian.org/debian-gis-team/gdal/-/blob/master/debian/rules#L117

And:

 https://launchpadlibrarian.net/471535809/buildlog_ubuntu-focal-amd64.gdal_3.0.4+dfsg-1build3_BUILDING.txt.gz
 https://launchpadlibrarian.net/468243097/buildlog_ubuntu-bionic-amd64.gdal_3.0.4+dfsg-1~bionic0_BUILDING.txt.gz

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