[Gdal-dev] python import error: undefined symbol: SWIG_MakePtr

Vincent Schut schut at sarvision.nl
Wed Jan 17 02:38:22 EST 2007

Hi all,

with a fresh svn checkout of gdal and using the oldfashioned python 
bindings, I get the following error:

Python 2.5 (r25:51908, Oct 27 2006, 11:17:07)
[GCC 4.1.1 (Gentoo 4.1.1-r1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import gdal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.5/site-packages/gdal.py", line 191, in <module>
    import _gdal
ImportError: /usr/lib64/python2.5/site-packages/_gdalmodule.so: 
undefined symbol: SWIG_MakePtr

Btw subversion is working, I could do an anonymous checkout without any 


More information about the Gdal-dev mailing list