Hello List,

I've some problems during install postgis1.3.3 on Ubuntu-6.06-Server with 
PostgreSQL-8.2.7.
When I try to run the lwpostgis.sql I get the following massage:

BEGIN
psql:/usr/local/pgsql/share/lwpostgis.sql:45: NOTICE:  type "histogram2d"
is not yet defined
DETAIL:  Creating a shell type definition.
psql:/usr/local/pgsql/share/lwpostgis.sql:45: ERROR:  incompatible library
"/usr/local/pgsql/lib/liblwgeom.so": missing magic block
HINT:  Extension libraries are required to use the PG_MODULE_MAGIC macro.
Searching the mailing list I found many topics with the same problem. Some guys 
advised to insert the following lines in one (?!) modul:
/*#include "pgmagic.h"*/
#ifdef PG_MODULE_MAGIC
PG_MODULE_MAGIC;
#endif

So I checked the lwgeom_pg.c in the contrib dir of PostgreSQL 
/postgresql-8.2.7/cpntrib/postgres-1.3.3/lwgeom
and these lines are allready written there.

What should I do / check next? Did I made any mistakes by installing PostgreSQL 
and PostGIS via selfcompiling and installing?
Before I installed these versions, PostgreSQL-8.1 was installed via apt-get and 
removed.

Thanks for any help.
Cheers,

Christian

++++++++++++++++++++++++++++++++++++++++++++++
Christian Gadge

Datenmanagement / 
Department Stadtökologie , Umweltplanung und Verkehr

Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Permoserstraße 15 I 04318 Leipzig
Telefon +49 (0)341 235-1730
[EMAIL PROTECTED]

http://www.ufz.de

Das UFZ hat einen neuen Namen: Helmholtz-Zentrum für Umweltforschung GmbH - UFZ

Sitz der Gesellschaft: Leipzig
Registergericht: Amtsgericht Leipzig
Handelsregister Nr. B 4703
Vorsitzender des Aufsichtsrats: MinDirig Hartmut F. Grübel
Wissenschaftlicher Geschäftsführer: Prof. Dr. Georg Teutsch
Administrativer Geschäftsführer: Dr. Andreas Schmidt
++++++++++++++++++++++++++++++++++++++++++++++


_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to