[Gdal-dev] Build on FreeBSD-4.11 fails (again)

Benjamin Thelen bt at ccgis.de
Wed Apr 26 05:43:58 EDT 2006


Hi all,

four month after we managed to get gdal-1.3.1 running on FreeBSD-4.11, I  
decided to upgrade. I suprisingly saw that building gdal-1.3.1 stops
again, but with a different error message - please have
a look below. Building gdal-1.3.1 --without-geos is successful! In December
gdal-1.3.1 built successfully with geos-2.1.4. Well, something crucial
must have changed within GEOS.

Will there be a chance to get it going again?

Another question is, can I live "without-geos"? If yes, there maybe is no
need to get gdal built on a legacy FreeBS 4.11 (with GEOS support). I
mean, GEOS support is used by PostGIS and MapServer connects to PostGIS
directly. Which are the cases GEOS support is required for gdal (or
MapServer)?

Thanks,
Ben


/usr/libexec/elf/ld: warning: libstdc++.so.6, needed by
/usr/local/lib/libgeos.so, may conflict with libstdc++.so.3
../.libs/libgdal.so: undefined reference to
`geos::DistanceOp::DistanceOp(geos::Geometry const *, geos::Geometry
const *)'
../.libs/libgdal.so: undefined reference to
`geos::ConvexHull::~ConvexHull(void)'
../.libs/libgdal.so: undefined reference to
`geos::BufferOp::BufferOp(geos::Geometry *)'
../.libs/libgdal.so: undefined reference to
`geos::WKTReader::read(basic_string<char, string_char_traits<char>,
__default_alloc_template<false, 0> >)'
../.libs/libgdal.so: undefined reference to
`geos::DistanceOp::distance(void)'
../.libs/libgdal.so: undefined reference to
`geos::WKTWriter::WKTWriter(void)'
../.libs/libgdal.so: undefined reference to
`geos::WKTReader::WKTReader(geos::GeometryFactory const *)'
../.libs/libgdal.so: undefined reference to `geos::GEOSException
type_info node'
../.libs/libgdal.so: undefined reference to
`geos::ConvexHull::getConvexHull(void)'
../.libs/libgdal.so: undefined reference to `geos::GEOSException
type_info function'
../.libs/libgdal.so: undefined reference to
`geos::WKTWriter::write(geos::Geometry const *)'
../.libs/libgdal.so: undefined reference to
`geos::ConvexHull::ConvexHull(geos::Geometry const *)'
../.libs/libgdal.so: undefined reference to
`geos::WKTReader::~WKTReader(void)'
../.libs/libgdal.so: undefined reference to
`geos::BufferOp::getResultGeometry(double, int)'
../.libs/libgdal.so: undefined reference to
`geos::WKTWriter::~WKTWriter(void)'
../.libs/libgdal.so: undefined reference to
`geos::GeometryFactory::GeometryFactory(void)'
../.libs/libgdal.so: undefined reference to
`geos::DistanceOp::~DistanceOp(void)'
gmake[1]: *** [ogrinfo] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.3.1/ogr'
gmake: *** [ogr-apps] Error 2
*** Error code 2




More information about the Gdal-dev mailing list