[postgis-users] function definitions fail to load.

David Orme d.orme at ic.ac.uk
Tue Dec 9 08:43:51 PST 2003


I've tried loading the function and object definitions after compiling 
and installing the postgis code and something is going wrong. It looks 
like it fails to load libpostgis, which aborts the whole of the rest of 
the load. The library is there:

> [doibook:/usr/local/pgsql] dorme% file lib/libpostgis.so.0.8
> lib/libpostgis.so.0.8: Mach-O bundle ppc

Any suggestions?


The process is:
    553  16:31   sudo curl -O 
    554  16:32   sudo tar -zxvf postgis-0.8.0.tar.gz
    554  16:32   cd postgis-0.8.0
    555  16:33   vi Makefile
    556  16:33   sudo make
    557  16:34   sudo make install
    558  16:35   cd /usr/local/pgsql/
    559  16:35   bin/createlang plpgsql ebcc
    560  16:36   bin/psql -d ebcc -f share/contrib/postgis.sql

But then the function loading does this:

[doibook:postgresql-7.3.3/contrib/postgis-cvs] dorme% 
/usr/local/pgsql/bin/psql -d ebcc -f postgis.sql
  PL/PgSQL is installed.
(1 row)

psql:postgis.sql:38: NOTICE:  ProcedureCreate: type histogram2d is not 
yet defined
psql:postgis.sql:38: ERROR:  Load of file 
/usr/local/pgsql/lib/libpostgis.so.0.8 failed: no error message 
psql:postgis.sql:43: ERROR:  current transaction is aborted, queries 
ignored until end of transaction block

More information about the postgis-users mailing list