[postgis-users] Ubuntu install of PostGIS 1.1.6 failing
Allan Doyle
adoyle at eogeo.org
Mon Nov 20 15:45:50 PST 2006
I'm installing onto an up-to-date Ubuntu 6.06 system
proj-4.5.0 installs ok
geos-3.0.0rc2 installs ok
postgis-1.1.6 gives the following errors:
=====
mwow% sudo su postgres
postgres at mwow:/usr/local/src/postgis-1.1.6$ make check
make -C regress test
make[1]: Entering directory `/usr/local/src/postgis-1.1.6/regress'
Creating spatial db postgis_reg
ERROR: function postgis_lib_version() does not exist
HINT: No function matches the given name and argument types. You may
need to add explicit type casts.
Something went wrong (no postgis installed in postgis_reg).
For details, check /tmp/pgis_reg_17211/regress_log
make[1]: *** [test] Error 1
make[1]: Leaving directory `/usr/local/src/postgis-1.1.6/regress'
make: *** [check] Error 2
=====
The contents of /tmp/pgis_reg_17211/regress_log are not enlightening
to me:
=====
CREATE DATABASE
BEGIN
psql:lwpostgis.sql:39: NOTICE: type "histogram2d" is not yet defined
DETAIL: Creating a shell type definition.
psql:lwpostgis.sql:39: ERROR: could not load library "/usr/local/src/
postgis-1.1.6/lwgeom/liblwgeom.so.1.1": libgeos_c.so.1: cannot open
shared object file: No such file or directory
psql:lwpostgis.sql:44: ERROR: current transaction is aborted,
commands ignored until end of transaction block
psql:lwpostgis.sql:52: ERROR: current transaction is aborted,
commands ignored until end of transaction block
psql:lwpostgis.sql:62: ERROR: current transaction is aborted,
commands ignored until end of transaction block
... snip ...
psql:lwpostgis.sql:3462: ERROR: current transaction is aborted,
commands ignored until end of transaction block
psql:lwpostgis.sql:3509: ERROR: current transaction is aborted,
commands ignored until end of transaction block
ROLLBACK
=====
I did check the geos build, there is a step that makes libgeos_c.so.1
in /usr/local/lib.
I tried explicitly setting --with-geos-libdir=/usr/local/lib but
there's no difference.
Has anyone bumped into (and solved!) this?
Thanks,
Allan
--
Allan Doyle
+1.781.433.2695
adoyle at eogeo.org
More information about the postgis-users
mailing list