[SciPy-user] installation failed on a Intel 64 bit chip

eileen ye eileenye00 at yahoo.com
Tue Feb 1 11:47:43 CST 2005


Sorry to bother you.  I am trying install scipy on a Redhat 64 bit linux machine. 
 
I have python 2.2, and  I can install Number-23.0, however,  Numeric-23.5, Numeric-23.6, Numeric-23.7, report with the same error message. 
 
**************************************************************************
gcc -shared build/temp.linux-x86_64-2.2/lapack_litemodule.o -L/usr/lib/atlas -llapack -lcblas -lf77blas -latlas -lg2c -o build/lib.linux-x86_64-2.2/lapack_lite.so
/usr/bin/ld: /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/../../../libf77blas.a(sgbmv.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/../../../libf77blas.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
**************************************************************************
 
Since I installed Numeric-23.0, so I tried to build Scipy from source code. Scipy reported error as 
*************************************************************************
g77:f77: build/src/build/src/scipy/linalg/fblas-f2pywrappers.f
/usr/bin/g77 -shared build/temp.linux-x86_64-2.2/fblasmodule.o build/temp.linux-x86_64-2.2/fortranobject.o build/temp.linux-x86_64-2.2/Lib/linalg/src/fblaswrap.o build/temp.linux-x86_64-2.2/build/src/build/src/scipy/linalg/fblas-f2pywrappers.o -L/usr/lib -Lbuild/temp.linux-x86_64-2.2 -llapack -lf77blas -lcblas -latlas -lg2c -o build/lib.linux-x86_64-2.2/scipy/linalg/fblas.so
/usr/bin/ld: /usr/lib/libf77blas.a(sgemv.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/lib/libf77blas.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
/usr/bin/ld: /usr/lib/libf77blas.a(sgemv.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/lib/libf77blas.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Command "/usr/bin/g77 -shared build/temp.linux-x86_64-2.2/fblasmodule.o build/temp.linux-x86_64-2.2/fortranobject.o build/temp.linux-x86_64-2.2/Lib/linalg/src/fblaswrap.o build/temp.linux-x86_64-2.2/build/src/build/src/scipy/linalg/fblas-f2pywrappers.o -L/usr/lib -Lbuild/temp.linux-x86_64-2.2 -llapack -lf77blas -lcblas -latlas -lg2c -o build/lib.linux-x86_64-2.2/scipy/linalg/fblas.so" failed with exit status 1
*********************************************************************
 
I am root, so there is no privilege problem. 
 
Any suggestion? Thank you very much
 
Eileen


		
---------------------------------
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scipy.net/pipermail/scipy-user/attachments/20050201/9dd052c6/attachment.htm


More information about the SciPy-user mailing list