[postgis-users] Lib size issue

Fan Liu fan.liu at ericsson.com
Tue Apr 2 00:34:49 PDT 2019

Thanks, Raul. I will working on it. 

Fan Liu 

-----Original Message-----
From: postgis-users <postgis-users-bounces at lists.osgeo.org> On Behalf Of Raúl Marín Rodríguez
Sent: Tuesday, April 2, 2019 3:28 PM
To: PostGIS Users Discussion <postgis-users at lists.osgeo.org>
Subject: Re: [postgis-users] Lib size issue

Hi Fan,

You should probably ask in the gdal mailling list but I'd bet your compilation includes debugging symbols.
As a reference, in my system gdal 2.3.2 takes 17M without symbols and
117 with them.

If you don't need them you can either remove them from your CFLAGS
(-gX) and recompile
or strip them from the compiled library (`strip -s libgdal.so.20.5.0`).

Note that depending on the distribution you might have packages with just the symbols available (*-dev or something like that).

Raúl Marín Rodríguez
postgis-users mailing list
postgis-users at lists.osgeo.org

More information about the postgis-users mailing list