[postgis-users] Problem during installation

Alex Martins Daher aldaher at cpqd.com.br
Fri Mar 12 06:54:09 PST 2004


Hi All!

So, I am having a problem during the installation of PostGIS 0.81
in Postgres 7.4.1.

I ran the make/make install, and it was OK, but when I try to load
the spatial types and stuff (inside the postgis.sql), I get the error
below:

[postgres at naja postgis-0.8.1]$ pwd
/l/disk1/postgres/software/source/postgresql-7.4.1/contrib/postgis-0.8.1
[postgres at naja postgis-0.8.1]$ psql -d aldaher -f postgis.sql
BEGIN
        message         
------------------------
 PL/PgSQL is installed.
(1 row)

psql:postgis.sql:44: NOTICE:  type "histogram2d" is not yet defined
DETAIL:  Creating a shell type definition.
psql:postgis.sql:44: ERROR:  could not access file "$libdir/libpostgis.so.0.8": No such file or directory
psql:postgis.sql:49: ERROR:  current transaction is aborted, commands ignored until end of transaction block
psql:postgis.sql:57: ERROR:  current transaction is aborted, commands ignored until end of transaction block
psql:postgis.sql:65: ERROR:  current transaction is aborted, commands ignored until end of transaction block
psql:postgis.sql:70: ERROR:  current transaction is aborted, commands ignored until end of transaction block
psql:postgis.sql:77: ERROR:  current transaction is aborted, commands ignored until end of transaction block

Then I replaced the $libdir for the full path, and now I am getting this one:

[postgres at naja postgis-0.8.1]$ psql -d aldaher -f postgis2.sql
BEGIN
        message         
------------------------
 PL/PgSQL is installed.
(1 row)

psql:postgis2.sql:44: NOTICE:  type "histogram2d" is not yet defined
DETAIL:  Creating a shell type definition.
psql:postgis2.sql:44: ERROR:  could not load library "/l/disk1/postgres/software/source/postgresql-7.4.1/contrib/postgis-0.8.1/libpostgis.so.0.8": /l/disk1/postgres/software/source/postgresql-7.4.1/contrib/postgis-0.8.1/libpostgis.so.0.8: undefined symbol: pj_errno
psql:postgis2.sql:49: ERROR:  current transaction is aborted, commands ignored until end of transaction block

Can anyone help me with this?

Regards,
Alex



More information about the postgis-users mailing list