[gdal-dev] How to run autotest

Even Rouault even.rouault at spatialys.com
Thu Apr 18 02:17:53 PDT 2019


> E   ImportError:
> /home/parallels/OS-GIS/platforms/linux/x86_64/gdal/lib/python2.7/site-packa
> ges/osgeo/_gdal.so: undefined symbol: CPLGetErrorCounter

Try

ldd /home/parallels/OS-GIS/platforms/linux/x86_64/gdal/lib/python2.7/site-packages/osgeo/_gdal.so

and check which libgdal.so it links to. It is likely that it is not the right one.

You'll have to adjust your LD_LIBRARY_PATH then.
Sourcing scripts/setdevenv.sh should do that for you


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list