[postgis-users] Solaris 8, postgis 0.8.0, pg 7.4 compile error

David Valentine valentine at library.ucsb.edu
Mon Dec 1 19:42:14 PST 2003


solaris8
gcc 3.3.2
postgis 0.8.0
pg 7.4
geos-1.0
proj-4.4.7

LD_LIBRARY_PATH=/usr/local/ssl/lib:/usr/local/lib:/usr/lib:/lib:/usr/ 
ccs/lib
PATH=/usr/local/pgsql/bin:/usr/local/ant/bin:/usr/sbin:/usr/local/sbin: 
/usr/
local/bin:/usr/bin:/usr/ccs/bin
PG_HOME=/usr/local/pgsql
GEOS_DIR=/usr/local

I've done:

LDFLAGS=-lstdc++ ./configure

# cd /usr/local/src/postgresql-7.4/contrib/postgis-cvs
# /usr/local/bin/make
[snip]
gcc -shared -h libpostgis.so.0 postgis_debug.o postgis_ops.o  
postgis_fn.o
postgis_inout.o postgis_proj.o postgis_chip.o postgis_transform.o
postgis_gist_72.o postgis_estimate.o postgis_geos.o  
postgis_geos_wrapper.o
postgis_algo.o -L../../src/port -L../../src/port  -lstdc++  
-L/usr/local/lib
-lgeos -L/usr/local/lib -lproj   -R/usr/local/pgsql/lib -o  
libpostgis.so.0.8
Text relocation remains                         referenced
     against symbol                  offset      in file
<unknown>                           0x2a28      postgis_geos_wrapper.o
<unknown>                           0x2a2c      postgis_geos_wrapper.o
<unknown>                           0x2a30      postgis_geos_wrapper.o
<unknown>                           0x2a34      postgis_geos_wrapper.o
<unknown>                           0x2a38      postgis_geos_wrapper.o
<unknown>                           0x2a3c      postgis_geos_wrapper.o
<unknown>                           0x2a40      postgis_geos_wrapper.o
free                                0x33d8      postgis_geos_wrapper.o
NOTICE_MESSAGE                      0x214       postgis_geos_wrapper.o
[snip]
_Unwind_Resume                      0x414c      postgis_geos_wrapper.o
_Unwind_Resume                      0x4258      postgis_geos_wrapper.o
ld: fatal: relocations remain against allocatable but non-writable  
sections
collect2: ld returned 1 exit status
make: *** [libpostgis.so.0.8] Error 1







More information about the postgis-users mailing list