<div dir="ltr"><span style="font-family:arial;font-size:small">On Tue, Oct 1, 2013 at 4:41 PM, Pauli Virtanen <<a href="mailto:pav@iki.fi">pav@iki.fi</a>> wrote:</span><br>><br>> Hi,<br>><br>> 01.10.2013 16:28, Jack Howarth kirjoitti:<br>

> [clip]<br>> > /sw/bin/python2.7 setup.py build<br>> ><br>> > which fails at...<br>> ><br>> > /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<br>

> > Undefined symbols for architecture x86_64:<br>> >   "_main", referenced from:<br>> >       start in crt1.10.6.o<br>> [clip]<br>><br>> Something is screwed up in your build environment: the `-shared` flag is<br>

> missing from the link command.<br>><br>> Perhaps you have set one of the the environment variables FFLAGS,<br>> CFLAGS, LDFLAGS?<br><br>Also the `-undefined dynamic_lookup` flag.<br><br>--<br>Robert Kern<br>

</div>