Hello numpy users,

I am trying to build numpy 1.6.1 and am having problems. It prints the 
following error message:

gcc -pthread -shared build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o 
-L/usr/lib64/atlas -Lbuild/temp.linux-x86_64-2.4 -lptf77blas -lptcblas -latlas 
-o build/lib.linux-x86_64-2.4/numpy/core/_dotblas.so
/usr/bin/ld: /usr/lib64/atlas/libptcblas.a(cblas_dptgemm.o): relocation 
R_X86_64_32 against `a local symbol' can not be used when making a shared 
object; recompile with -fPIC
/usr/lib64/atlas/libptcblas.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
/usr/bin/ld: /usr/lib64/atlas/libptcblas.a(cblas_dptgemm.o): relocation 
R_X86_64_32 against `a local symbol' can not be used when making a shared 
object; recompile with -fPIC
/usr/lib64/atlas/libptcblas.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Command "gcc -pthread -shared 
build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o -L/usr/lib64/atlas 
-Lbuild/temp.linux-x86_64-2.4 -lptf77blas -lptcblas -latlas -o 
build/lib.linux-x86_64-2.4/numpy/core/_dotblas.so" failed with exit status 1

I do not know anything about the setup.py script, so do not know how to add the 
-fPIC switch. Any help will be greatly appreciated. 

Regards,

----------
Wadud Miah, High Performance Computing Systems Developer
Research Computing Services, University of East Anglia
Web: http://www.uea.ac.uk/~xca10fju/
Telephone: 01603 593856

Information Services
----------


_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to