[postgis-devel] Re: trunk: ERROR on spatially-enabling a database

strk strk at keybit.net
Wed Nov 26 02:21:03 PST 2008


On Wed, Nov 26, 2008 at 11:16:01AM +0100, strk wrote:
> On Wed, Nov 26, 2008 at 11:03:44AM +0100, strk wrote:
> > $ make && sudo make install
> > $ su postgres -c 'createlang plpgsql db'
> > $ su postgres -c 'psql -v ON_ERROR_STOP=1 -f lwgeom/lwpostgis.sql db'
> > 
> > psql:lwgeom/lwpostgis.sql:44: ERROR:  could not load library "/usr/lib/postgresql/8.3/lib/lwpostgis.so": /usr/lib/postgresql/8.3/lib/lwpostgis.so: undefined symbol: lwgeom_getcurve_inspected
> 
> Patch following (dependencies issue):

Actually the patch is good as it haves top-level 'make'
rebuild liblwgeom when you touch any source file for it.
But still, lwpostgis.so isn't relinked against the newly
created liblwgeom.a, altought it changed.

Not sure how to force that as I belive lwgeom/Makefile
is based on PGXS ?

--strk;



More information about the postgis-devel mailing list