[postgis-users] Lib size issue

Raúl Marín Rodríguez rmrodriguez at carto.com
Tue Apr 2 00:27:57 PDT 2019


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
carto.com


More information about the postgis-users mailing list