[postgis-users] Trouble compiling PostGIS with GEOS on IA64

Pavel Velikhov velikhov at sdsc.edu
Fri Jan 23 12:38:42 PST 2004


I get the following linking error, when I compile PostGIS with GEOS:

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes  
-Wmissing-declarations -g -fexceptions   -I. -DFRONTEND  
-DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_VERSION=74  
-I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include -DUSE_PROJ   
-DUSE_STATS -fpic -shared -Wl,-soname,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   -Wl,-rpath,/usr/local/pgsql/lib -o libpostgis.so.0.8
/usr/lib/gcc-lib/ia64-suse-linux/3.2/../../../../ia64-suse-linux/bin/ 
ld: postgis_geos_wrapper.o: @gprel relocation against dynamic symbol  
geomFactory

W/o GEOS I got the PostGIS to compile and install successfully. Would  
you have some clues on what to do next?

Thanks,
Pavel Velikhov
San Diego Supercomputer Center




More information about the postgis-users mailing list