[postgis-users] How to create user-defined C function using a postgis C function

Sandro Santilli strk at keybit.net
Sun Nov 10 11:57:13 PST 2013


On Sat, Nov 09, 2013 at 01:33:57PM +0100, Peter Tolkewitz wrote:

> > cc -I/usr/include/pgsql/server -fpic -c test.c
> > cc -shared -o test.so test.o

[..]

> ...complains with undefined symbol "lwgeom_clone_deep"

Add an -llwgeom line to your cc invocation,
or add full path to liblwgeom.a for static linking
(preferred by some)

--strk;


More information about the postgis-users mailing list