[postgis-devel] Re: trunk: ERROR on spatially-enabling a database
strk
strk at keybit.net
Wed Nov 26 02:16:01 PST 2008
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):
Index: GNUmakefile
===================================================================
--- GNUmakefile (revision 3336)
+++ GNUmakefile (working copy)
@@ -35,15 +35,13 @@
test-clean:
$(MAKE) -C regress clean
-liblwgeom/liblwgeom.a:
+liblwgeom:
$(MAKE) -C liblwgeom
-liblwgeom: liblwgeom/liblwgeom.a
-
liblwgeom-clean:
$(MAKE) -C liblwgeom clean
-postgis: liblwgeom/liblwgeom.a
+postgis: liblwgeom
$(MAKE) -C lwgeom
postgis-clean:
@@ -101,4 +99,4 @@
config.status: configure
./configure
-.PHONY: utils
+.PHONY: utils liblwgeom
--strk;
More information about the postgis-devel
mailing list