[GRASS-dev] compiling GRASS fails at configure, unable to locate GDAL library
Markus Neteler
neteler at osgeo.org
Thu Oct 29 03:38:09 PDT 2015
On Thu, Oct 29, 2015 at 11:29 AM, Paulo van Breugel
<p.vanbreugel at gmail.com> wrote:
> I do not really understand the log info, but I guess the below is the
> relevant part?
>
> configure:6098:9: warning: ignoring return value of 'GDALOpen', declared
> with attribute warn_unused_result [-Wunused-result]
> GDALOpen("foo", GA_ReadOnly);
> ^
> /usr/bin/ld: warning: libgrass_vector.so, needed by
> /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)
...
> /usr/local/gdal/lib/libgdal.so, not found (try using -rpath or -rpath-link)
> /usr/local/gdal/lib/libgdal.so: undefined reference to `Rast_map_type'
> /usr/local/gdal/lib/libgdal.so: undefined reference to
> `Rast_get_fp_color_rule'
> ...
> ...
> /usr/local/gdal/lib/libgdal.so: undefined reference to
> `Vect_new_line_struct'
Did you compile GDAL with GRASS GIS support?
If yes:
This is not recommended - instead use the GDAL-GRASS plugin to
disentangle them properly.
Markus
More information about the grass-dev
mailing list