[postgis-users] other errors during postgis.sql command

Benedetto Porfidia benedetto.porfidia at fastwebnet.it
Tue Aug 10 09:39:58 PDT 2004


Hallo All
I have installed postgis on latest postgres sources with no errors
and all seem to be gone ok.
but when I try the psql command i have these similar errors to the 
previous message.
I tried to drop the db, run ldconfig with the path found with "find 
/-name libpostgis.so.0.8", create a new db,
run createlang.... ,but i have the same error.

postgres at bumbum:/home/jodalap$ /usr/local/pgsql/bin/psql -d gis_db -f 
/usr/pg_data/postgis.sql
BEGIN
        message
------------------------
 PL/PgSQL is installed.
(1 row)
 
psql:/usr/pg_data/postgis.sql:47: NOTICE:  type "histogram2d" is not yet 
definedDETAIL:  Creating a shell type definition.
psql:/usr/pg_data/postgis.sql:47: ERROR:  could not load library 
"/usr/local/pgsql/lib/libpostgis.so.0.8": 
/usr/local/pgsql/lib/libpostgis.so.0.8: undefined symbol: pj_get_release
psql:/usr/pg_data/postgis.sql:52: ERROR:  current transaction is 
aborted, commands ignored until end of transaction block
.etc etc (the same for all lines) and

commit

please, someone can give some help
thanks