[postgis-devel] statically linked liblwgeom, why ?

Sandro Santilli strk at kbt.io
Thu Jan 24 12:41:47 PST 2019


On Thu, Jan 24, 2019 at 08:45:54PM +0100, Raúl Marín Rodríguez wrote:

> No. Linking liblwgeom statically doesn't require linking everything
> statically 

I guess that's due to -as-needed, nice. But the -static breaks my
build of raster2pgsql today:

libtool:   error: cannot find the library '/usr/lib/x86_64-linux-gnu/libexpat.la' or unhandled argument '/usr/lib/x86_64-linux-gnu/libexpat.la'

Taking the -static out fixes it.

--strk;


More information about the postgis-devel mailing list