[pypy-issue] [issue1642] Numpy fails to load with pypy-2.2-osx64

Brian Kearns tracker at bugs.pypy.org
Mon Nov 18 17:27:17 CET 2013


Brian Kearns <bdkearns at gmail.com> added the comment:

Yes, meaning xcode command line tools.

It seems something is wrong with your environment, see these errors:

cc -arch x86_64 _configtest.o -L/usr/lib -L/opt/local/lib -latlas -lptf77blas -
lptcblas -o _configtest
Undefined symbols for architecture x86_64:
  "_ATL_buildinfo", referenced from:
      _main in _configtest.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

/usr/local/bin/gfortran -Wall -Wall -undefined dynamic_lookup -bundle 
build/temp.macosx-10.8-x86_64-2.7/numpy/linalg/lapack_litemodule.o 
build/temp.macosx-10.8-x86_64-2.7/numpy/linalg/lapack_lite/python_xerbla.o -
L/opt/local/lib -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3 -
Lbuild/temp.macosx-10.8-x86_64-2.7 -llapack -lptf77blas -lptcblas -latlas -
lgfortran -o build/lib.macosx-10.8-x86_64-2.7/numpy/linalg/lapack_lite.pypy-
22.so
ld: warning: ld: warning: ld: warning: ld: warning: ignoring file 
build/temp.macosx-10.8-x86_64-2.7/numpy/linalg/lapack_litemodule.o, file was 
built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 
0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked 
(i386): build/temp.macosx-10.8-x86_64-
2.7/numpy/linalg/lapack_litemodule.oignoring file build/temp.macosx-10.8-x86_64-
2.7/numpy/linalg/lapack_lite/python_xerbla.o, file was built for unsupported 
file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1 
0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): 
build/temp.macosx-10.8-x86_64-
2.7/numpy/linalg/lapack_lite/python_xerbla.oignoring file 
/opt/local/lib/liblapack.a, file was built for archive which is not the 
architecture being linked (i386): /opt/local/lib/liblapack.aignoring file 
/opt/local/lib/libptf77blas.a, file was built for archive which is not the 
architecture being linked (i386): /
 opt/local/lib/libptf77blas.a

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1642>
________________________________________


More information about the pypy-issue mailing list