[gdal-dev] How to run autotest

Even Rouault even.rouault at spatialys.com
Tue Apr 9 01:22:39 PDT 2019


On lundi 8 avril 2019 17:20:45 CEST Fengting Chen wrote:
> I rebuilt GDAl with python bindings without errors. Now I got a
> different error:
> 
> ImportError while loading conftest
> '/scratch/gdal/gdal/autotest/conftest.py'.
> /home/fechen/.local/lib/python2.7/site-packages/six.py:709: in exec_
>      exec("""exec _code_ in _globs_, _locs_""")
> conftest.py:9: in <module>
>      from osgeo import gdal
> ../gdal/swig/python/build/lib.linux-x86_64-2.7/osgeo/__init__.py:21: in
> <module>
>      _gdal = swig_import_helper()
> ../gdal/swig/python/build/lib.linux-x86_64-2.7/osgeo/__init__.py:17: in
> swig_import_helper
>      _mod = imp.load_module('_gdal', fp, pathname, description)
> E   ImportError: /scratch/gdal/gdal/gdal/.libs/libgdal.so.20: undefined
> symbol: _Z17CPLHaveRuntimeAVXv
> 
> Any idea why  libgdal.so.20 has undefined symbol?

First time I see this error
Do you get this also when using gdalinfo, gdal_translate, etc ?
If so, consider doing a clean build. It might be that you have attempted 
several builds of GDAL with different options after ./configure

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


More information about the gdal-dev mailing list