[Numpy-discussion] building pynetcdf-0.7 on OS X 10.4 intel

Christian Marquardt christian at marquardt.sc
Thu May 3 05:58:19 EDT 2007


On Wed, May 2, 2007 23:36, James Boyle wrote:
> OS X 10.4.9,   python 2.5,  numpy 1.0.3.dev3726,  netcdf 3.6.2
>
> /usr/bin/ld: warning /Users/boyle5/netcdf-3.6.2/lib/libnetcdf.a
> archive's cputype (7, architecture i386) does not match cputype (18)
> for specified -arch flag: ppc (can't load from it)

NOT having any experience on Macs, but doesn't the above error message
suggest that your netCDF library has been build for a i386 instead of
a ppc? Could that be the problem? Can you run the ncdump and ncgen
executables from the same netCDF distribution?

Just a thought,

  Christian.




More information about the NumPy-Discussion mailing list