[postgis-users] Problem during installation

TECHER Jean David davidtecher at yahoo.fr
Fri Mar 12 08:00:08 PST 2004


Hi Martins

All I knox it is that pj_errno.c  is a file from sources of PROJ.

Perhaps you need to see if you install postgis with PROJ=1.

So Perhaps postgis can't find the PROJ librairies

TECHER JEAN DAVID
- Responsable Informatique 01MAP -
e-mail:davidtecher at yahoo.fr
Tél: 06 85 37 36 75
Site PostGIS: http://techer.pascal.free.fr/postgis/index.htm

-----Message d'origine-----
De : postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net]De la part de Alex
Martins Daher
Envoyé : vendredi 12 mars 2004 15:54
À : postgis-users at postgis.refractions.net
Objet : [postgis-users] Problem during installation


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/li
bpostgis.so.0.8":
/l/disk1/postgres/software/source/postgresql-7.4.1/contrib/postgis-0.8.1/lib
postgis.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
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users





More information about the postgis-users mailing list