[GRASS-dev] Error: undefined reference to `OGR_GT_Flatten' when compiling grass with GDAL

Martin Landa landa.martin at gmail.com
Tue Jan 5 08:19:31 PST 2016


Hi,

2016-01-05 16:59 GMT+01:00 Andre Hollstein <andre.hollstein at gfz-potsdam.de>:
> /misc/fluo6/andre/projekte/custom_gfz_python/tmp/grass/grass-7.0.2/dist.x86_64-unknown-linux-gnu/lib/libgrass_vector.7.0.2.so:
> undefined reference to `OGR_GT_Flatten'
> collect2: error: ld returned 1 exit status

probably more versions of GDAL installed on your system (check
/usr/lib and /usr/local/lib)? Add also
/misc/fluo6/andre/projekte/custom_gfz_python/python_GFZ/opt/lib to
your /etc/ld.so.conf and run `sudo ldconfig`. Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the grass-dev mailing list