[Gdal-dev] Python bindings issue on OS X

Sean Fulton seanasy at gmail.com
Wed Mar 21 16:20:44 EDT 2007


I'm trying to compile gdal 1.4.0 on Mac OS X 10.4.9 with the ngpython 
bindings enabled. Compilation and installation go fine. However, when 
trying to import the gdal module into the python interpreter I get the 
following error:


If I copy _gdal.so, _gdalconst.so,   _ogr.so and _osr.so to 
/opt/local/lib/python2.4/lib-dynload/ , I get this error instead:


That's about as far as I've gotten. All of the gdal python libraries 
seem to get installed in /opt/local/lib/python2.4/site-packages/

Any help or tips appreciated.



More information about the Gdal-dev mailing list