RES: [postgis-users] Problem during installation

chodgson at refractions.net chodgson at refractions.net
Fri Mar 12 13:04:31 PST 2004


Did you recompile PostGIS after installing those libraries?

Chris

Quoting Alex Martins Daher <aldaher at cpqd.com.br>:

> Thank you David!
> 
> So, I've installed proj and geos libraries, but I am still hitting on
> the same error. What else can I verify/do?
> 
> [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
> psql:postgis2.sql:57: ERROR:  current transaction is aborted, commands
> ignored until end of transaction block
> psql:postgis2.sql:65: ERROR:  current transaction is aborted, commands
> ignored until end of transaction block
> 
> -----Mensagem original-----
> De: postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net]Em nome de TECHER
> Jean David
> Enviada em: sexta-feira, 12 de março de 2004 13:00
> Para: PostGIS Users Discussion
> Assunto: RE: [postgis-users] Problem during installation
> 
> 
> 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
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> _______________________________________________
> 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