[Gdal-dev] Re: [GRASS-dev] gdal-grass plugin fails during ./configure with GRASS 6.3 CVS

Paul Kelly paul-grass at stjohnspoint.co.uk
Mon Jan 1 16:22:34 EST 2007

Hello Maciek

On Mon, 1 Jan 2007, Maciej Sieczka wrote:

> Paul Kelly wrote:
>> You probably need to check config.log to see what the actual error is.
> Tried that but no enlightment. I'm attaching it if anybody would like
> to have a look.

Here is the relevant output:

configure:2840: found /usr/local/bin/gdal-config
configure:2853: result: /usr/local/bin/gdal-config
configure:2912: result: using /usr/local/lib/gdalplugins as GDAL shared library
autoload directory
configure:2939: checking for G_asprintf in -lgrass_gis
configure:2969: gcc -o conftest -O2    conftest.c -lgrass_gis -L/usr/local/grass
-6.3.cvs/lib -lgrass_I -lgrass_vask -lgrass_gmath -lgrass_gis -lgrass_datetime -
lgrass_gproj -lgrass_vect -lgrass_dbmibase -lgrass_dbmiclient -lgrass_dgl -lgras
s_dig2 -lgrass_rtree -lgrass_linkm -L/usr/local/lib -lgdal  >&5
/usr/local/lib/libgeos_c.so.1: undefined reference to `geos::WKBReader::read(std
::basic_istream<char, std::char_traits<char> >&)'
/usr/local/lib/libgeos_c.so.1: undefined reference to `geos::WKBWriter::write(ge
os::Geometry const&, std::basic_ostream<char, std::char_traits<char> >&)'
/usr/local/lib/libgeos_c.so.1: undefined reference to `geos::Point::getCoordinat
esRO() const'
/usr/local/lib/libgeos_c.so.1: undefined reference to `geos::WKBWriter::WKBWrite
r(int, int)'
collect2: ld returned 1 exit status

So the problem is something to do with geos. What has changed appears to 
be something to do with GDAL now depending on GEOS in some way?

This e-mail from Glynn may be related:

Hope this is some help. GDAL and Geos-related stuff has started coming up 
a bit in the last month or two so it looks like something is perhaps not 
right somewhere but I don't know what needs fixed exactly.


More information about the Gdal-dev mailing list