[postgis-users] Re:geos install problem

James S reid james.reid at ed.ac.uk
Thu Feb 19 01:41:16 PST 2004


hi! Im trying to build postgis 0.8.1 and geos1.0 (against postgres 7.4.1)- I
can acehive this succesfully if i omit support for geos but if i set the
flag to 2 and point to my geos install directory the make fails.

I havent seen anything on the list that looks like an answer - help!!!

below is a tail of the compilation errors and exit codes:

geos::GeometryFactory::createPolygon(geos::LinearRing *,
vector<geos::Geometry *, allocator<geos::Geometry *> > *)     0x1a14
postgis_geos_wrapper.o
geos::GEOSException type_info node  0x24        postgis_geos_wrapper.o
geos::GEOSException type_info node  0x2c        postgis_geos_wrapper.o
geos::LineString::getCoordinatesRO(void) const0x5dd8
postgis_geos_wrapper.o
geos::LineString::getCoordinatesRO(void) const0x5ed0
postgis_geos_wrapper.o
geos::BasicCoordinateList::BasicCoordinateList(int)0x978
postgis_geos_wrapper.o
geos::BasicCoordinateList::BasicCoordinateList(int)0x1680
postgis_geos_wrapper.o
geos::BasicCoordinateList::BasicCoordinateList(int)0x181c
postgis_geos_wrapper.o
geos::IntersectionMatrix::toString(void)0x2e58
postgis_geos_wrapper.o
geos::GeometryFactory::getPrecisionModel(void) const0x154
postgis_geos_wrapper.o
geos::GEOSException type_info function0x18
postgis_geos_wrapper.o
geos::GeometryFactory::createLineString(geos::CoordinateList const *)0xa88
postgis_geos_wrapper.o
geos::GeometryFactory::createPoint(geos::Coordinate const &)0x708
postgis_geos_wrapper.o
geos::GeometryFactory::GeometryFactory(geos::PrecisionModel const *,
int)0x48           postgis_geos_wrapper.o
geos::PrecisionModel::PrecisionModel(void)0x34
postgis_geos_wrapper.o
geos::GeometryFactory::createMultiLineString(vector<geos::Geometry *,
allocator<geos::Geometry *> > *)     0x1088       postgis_geos_wrapper.o
geos::GeometryFactory::createMultiPolygon(vector<geos::Geometry *,
allocator<geos::Geometry *> > *)     0xd84           postgis_geos_wrapper.o
geos::GeometryFactory::toGeometry(geos::Envelope *, geos::PrecisionModel *,
int)0x164           postgis_geos_wrapper.o
geos::GeometryFactory::createMultiPoint(vector<geos::Geometry *,
allocator<geos::Geometry *> > *)     0x138c
postgis_geos_wrapper.o
geos::Envelope::Envelope(double, double, double, double)0x120
postgis_geos_wrapper.o
geos::GeometryFactory::buildGeometry(vector<geos::Geometry *,
allocator<geos::Geometry *> > *)     0x418        postgis_geos_wrapper.o
geos::GeometryFactory::createLinearRing(geos::CoordinateList *)    0x1798
postgis_geos_wrapper.o
geos::GeometryFactory::createLinearRing(geos::CoordinateList *)    0x1944
postgis_geos_wrapper.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
gmake: *** [libpostgis.so.0.8] Error 1


thoughts welcome : )

James S Reid
GeoData Services
EDINA
University of Edinburgh
Main Library
George Square
EH8 9LJ

tel:     +44 (0) 131 651 1383
fax:    +44 (0) 131 650 3308
email: james.reid at ed.ac.uk


"Programming today is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning."

    Rich Cook






More information about the postgis-users mailing list