[SciPy-Dev] 1.8.0rc1

Pauli Virtanen pav at iki.fi
Tue Oct 1 11:41:27 EDT 2013


Hi,

01.10.2013 16:28, Jack Howarth kirjoitti:
[clip]
> /sw/bin/python2.7 setup.py build
> 
> which fails at...
> 
> /sw/bin/gfortran -Wall -L/sw/lib build/temp.macosx-10.6-x86_64-2.7/numpy/linalg/lapack_litemodule.o build/temp.macosx-10.6-x86_64-2.7/numpy/linalg/lapack_lite/python_xerbla.o -L/sw/lib -L/sw/lib/gcc4.8/lib/gcc/x86_64-apple-darwin10.8.0/4.8.1 -Lbuild/temp.macosx-10.6-x86_64-2.7 -llapack -lptf77blas -lptcblas -latlas -lgfortran -o build/lib.macosx-10.6-x86_64-2.7/numpy/linalg/lapack_lite.so
> Undefined symbols for architecture x86_64:
>   "_main", referenced from:
>       start in crt1.10.6.o
[clip]

Something is screwed up in your build environment: the `-shared` flag is
missing from the link command.

Perhaps you have set one of the the environment variables FFLAGS,
CFLAGS, LDFLAGS?

-- 
Pauli Virtanen




More information about the SciPy-Dev mailing list