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

eileen ye eileenye00 at yahoo.com
Wed Feb 2 10:47:57 CST 2005

Thank you very much for the reply.
I uninstalled lapack. Numeric-23.7 installation still failed by the same command with the same error. I am using my own atlas. 
gcc -shared build/temp.linux-x86_64-2.2/lapack_litemodule.o 
-L/usr/local/atlas/ATLAS/lib/Linux_X86_64_4 -llapack -lcblas -lf77blas -latlas -lg2c -o build/lib.linux-x86_64-2.2/lapack_lite.so
/usr/bin/ld: /usr/local/atlas/ATLAS/lib/Linux_X86_64_4/liblapack.a(dgeev.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/local/atlas/ATLAS/lib/Linux_X86_64_4/liblapack.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Stephen Walton <stephen.walton at csun.edu> wrote:
eileen ye wrote:

> Sorry to bother you. I am trying install scipy on a Redhat 64 
> bit linux machine.
> ...
> 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):


This is your problem. The libf77blas.a which is being accessed is the 
one in the RedHat lapack RPM instead of the one for ATLAS. You'll have 
to uninstall it:

rpm -e lapack octave

since, if I recall, octave depends on lapack.

SciPy-user mailing list
SciPy-user at scipy.net

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scipy.net/pipermail/scipy-user/attachments/20050202/a46ef52f/attachment.htm

More information about the SciPy-user mailing list