[postgis-users] compile error

Hubert Fröhlich hubert.froehlich at bvv.bayern.de
Mon Nov 8 08:09:20 PST 2004


Thank you, it worked (compile & install ok, but ...

a few steps later when preparing a database for postgis:

psql -d testdb8  -f postgis.sql
BEGIN
         message
------------------------
  PL/PgSQL is installed.
(1 row)

psql:/opt/verm80/share/postgresql/postgis.sql:47: NOTICE:  type
"histogram2d" is not yet defined
DETAIL:  Creating a shell type definition.
psql:/opt/verm80/share/postgresql/postgis.sql:47: ERROR:  could not load
library "/opt/verm80/lib/postgresql/libpostgis.so.0.9": /opt/verm80/lib/pos
tgresql/libpostgis.so.0.9: undefined symbol: pj_release


Can anybody help me further?
Thanks,

Hubert

> Hubert Fröhlich wrote:
> 
>> Hi list,
>>
>> I tried to compile postgis 0.9.0 with postgres 8.0 beta4 and geos 
>> 2.0.1 (USE_GEOS=1) . I am working on a 2x Xeon box with SuSE Linux 8.1.
>>
>> When compiling Postgis, I get the error:
>>
>> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels 
>> -fno-strict-aliasing -g -fexceptions  -I. -DFRONTEND 
>> -DSYSCONFDIR='"/opt/verm80/etc/postgresql"'  -DUSE_VERSION=80 
>> -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' 
>> -I/opt/verm80/include -DUSE_GEOS -DUSE_STATS -fpic -I../../src/include 
>> -D_GNU_SOURCE  -I/opt/verm/include  -c -o postgis_estimate.o 
>> postgis_estimate.c
>> postgis_estimate.c: In function `build_histogram2d':
>> postgis_estimate.c:515: error: too few arguments to function 
>> `SPI_cursor_open'
>>
>> Can anybody help me?
> 
> 
> See 
> http://postgis.refractions.net/pipermail/postgis-users/2004-October/005913.html 
> 
> which worked for me too when I was in the same situation.
> 
> Cheers,
> Vincent.
> 
>>
>> Thanks,
>> Hubert
>>
> 


-- 
-------------------------------------------------------------------------------
Dr.-Ing. Hubert Fröhlich			
Bezirksfinanzdirektion München 			
Alexandrastr. 3, D-80538 München, GERMANY
Tel. :+49 (0)89 / 2190 - 2980
Fax  :+49 (0)89 / 2190 - 2997
hubert dot froehlich at bvv dot bayern dot de




More information about the postgis-users mailing list