[Gdal-dev] Python modules fail to compile on MAC OS X

Ticheler, Jeroen (SDRN) Jeroen.Ticheler at fao.org
Wed Sep 22 15:51:14 EDT 2004

I have a problem compiling the Python modules of GDAL on MAC OS X. I have
seen this problem has been discussed previously (around December 2003), but I
have found no solution yet. Does anyone have a solution?

Error while compiling:

(cd pymod; make)
GNUmakefile:35: warning: overriding commands for target `_gdalmodule.la'
GNUmakefile:29: warning: ignoring old commands for target `_gdalmodule.la'
/bin/sh ../libtool --mode=link  g++ gdal_wrap.lo numpydataset.lo
../libgdal.la -o _gdalmodule.la \
ackages \
        -no-undefined \
        -avoid-version \
g++ -Wl,-bind_at_load  -o .libs/_gdalmodule.so -bundle  .libs/gdal_wrap.o
.libs/numpydataset.o .libs/gdalnumeric.o  -L/usr/local/lib
ld: Undefined symbols:
make[1]: *** [_gdalmodule.la] Error 1
make: *** [py-module] Error 2

More information about the Gdal-dev mailing list