[Gdal-dev] OSX compile problem

Phil Lavery phil.lavery at mac.com
Mon Oct 20 03:10:26 EDT 2003


Hi

I am trying to compile GDAL on OSX 10.2.6, and get the following error.
I have gone back through the archives but can't see a similar problem.

I would be very grateful for any help on this.
Oh, I'm not a programmer so please be gentle with me....

many thanks

Phil

g++ -Wl,-bind_at_load  -o .libs/_gdalmodule.so -bundle  
.libs/gdal_wrap.o .libs/numpydataset.o .libs/gdalnumeric.o  
../.libs/libgdal.dylib -lz -lm -L/stereotools/gdal/.libs
ld: Undefined symbols:
_PyArg_Parse
_PyArg_ParseTuple
_PyDict_New
_PyDict_Next
_PyDict_SetItem
_PyDict_Type
_PyErr_Clear
_PyErr_SetString
_PyEval_CallObjectWithKeywords
_PyExc_MemoryError
_PyExc_NameError
_PyExc_TypeError
_PyExc_ValueError
_PyFloat_AsDouble
_PyFloat_FromDouble
_PyInt_AsLong
_PyInt_FromLong
_PyInt_Type
_PyList_New
_PyList_SetItem
_PyList_Size
_PyList_Type
_PyModule_GetDict
_PyString_AsString
_PyString_FromString
_PyString_FromStringAndSize
_PyString_Type
_PyType_IsSubtype
_PyType_Type
_Py_BuildValue
_Py_InitModule4
__Py_NoneStruct
make[1]: *** [_gdalmodule.la] Error 1
make: *** [py-module] Error 2
[Beagle3:/stereotools/gdal] phillavery%




More information about the Gdal-dev mailing list