umath import error for Numpy builds on OSX 10.6

hardcoreUFO fonnesbeck at gmail.com
Fri Dec 11 21:55:00 EST 2009


On Dec 11, 5:47 pm, Robert Kern <robert.k... at gmail.com> wrote:

> Right, when the -lnpymath stuff got checked in. Looking at the build log you
> posted to numpy-discusson, it does appear that the $LDFLAGS is obliterating the
> intended flags. Please post a build log without setting those flags to
> numpy-discussion. A correct link line should look something like this:
>
> gcc -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle
> -undefined dynamic_lookup
> build/temp.macosx-10.3-i386-2.5/numpy/core/src/umath/umathmodule_onefile.o
> -Lbuild/temp.macosx-10.3-i386-2.5 -lnpymath -o
> build/lib.macosx-10.3-i386-2.5/numpy/core/umath.so

Thanks Robert,

Here is the log from a build without the LDFLAGS set.  Having a quick
look, all I can see are a few warnings and a CAPI version mismatch
message. Any insight most appreciated. The build still gives the same
umath error.

cf



More information about the Python-list mailing list