[postgis-users] problems building postgis-1.3.1 on SLES10

Christian.Strobl at dlr.de Christian.Strobl at dlr.de
Mon Aug 20 14:06:57 PDT 2007


dear list,

i am building postgis 1.3.1 with geos-3.0.0rc4, proj-4.5.0, postgresql-8.2.4 on suse enterprise server 10

./configure --with-pgsql=/usr/local/PGSQL/bin/pg_config --with-geos=/usr/local/GEOS-3.0.0RC4/bin/geos-config --with-proj=/usr/local/PROJ4-4.5.0

with make check i get the following error message

########################################
make -C regress test
make[1]: Entering directory `/usr/src/postgis-1.3.1/regress'
Creating spatial db postgis_reg
ERROR: function postgis_lib_version() does not exist
LINE 1: select postgis_lib_version()
^
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_10097/regress_log

make[1]: *** [test] Fehler 1
make[1]: Leaving directory `/usr/src/postgis-1.3.1/regress'
make: *** [check] Fehler 2
###############################################

looking at the /tmp/pgis_reg_10097/regress_log

i see the following message

###############################################

CREATE DATABASE
BEGIN
psql:lwpostgis.sql:44: NOTICE: type "histogram2d" is not yet defined
DETAIL: Creating a shell type definition.
psql:lwpostgis.sql:44: ERROR: could not load library "/usr/src/postgis-1.3.1/lwgeom/liblwgeom.so.1.3": libproj.so.0: cannot open shared object file: No such file or directory
psql:lwpostgis.sql:50: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:lwpostgis.sql:56: 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
psql:lwpostgis.sql:70: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:lwpostgis.sql:88: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:lwpostgis.sql:94: ERROR: current transaction is aborted, commands ignored until end of transaction block
....................

###############################################

both libraries exist and also setting the LD_LIBRARY_PATH explicitly brings no help. the regress_log remains unchanged.

export LD_LIBRARY_PATH=/usr/src/postgis-1.3.1/lwgeom:/usr/local/PROJ4-4.5.0/lib

i am grateful for every help
christian



More information about the postgis-users mailing list