[Gdal-dev] Python bindings issue on OS X

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


Hello,

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:

http://dpaste.com/7192/

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:

http://dpaste.com/7193/

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.

Thanks,

	Sean





More information about the Gdal-dev mailing list