[Numpy-discussion] Problem compiling scipy-core

Darren Dale dd55 at cornell.edu
Wed Nov 23 16:08:01 CST 2005


On Wednesday 23 November 2005 6:47 pm, Anoop wrote:
> Hi. I have problems installing scipy-core from source code on a Rocks
> Cluster distribution of Linux running on x86-64 hardware. The error
> messages tell me:
>
> /usr/bin/g77 -shared
> build/temp.linux-x86_64-2.3/scipy/corelib/blasdot/_dotblas.o -L/usr/lib
> -lblas -lg2c -o build/lib.linux-x86_64-2.3/scipy/lib/_dotblas.so
> /usr/bin/ld: skipping incompatible /usr/lib/libblas.so when searching for
> -lblas /usr/bin/ld: skipping incompatible /usr/lib/libblas.a when searching
> for -lblas /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../libblas.so when searching
> for -lblas /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../libblas.a when searching
> for -lblas /usr/bin/ld: skipping incompatible /usr/lib/libblas.so when
> searching for -lblas /usr/bin/ld: skipping incompatible /usr/lib/libblas.a
> when searching for -lblas /usr/bin/ld: cannot find -lblas
> collect2: ld returned 1 exit status

I saw something similar to this just the other day. In my case, the problem 
was that scipy discovered broken libblas.* softlinks in /usr/lib and tried to 
build against them. It looks like something similar is happening here, check 
your atlas/blas/lapack installation.

Darren

-- 
Darren S. Dale, Ph.D.
dd55 at cornell.edu




More information about the Numpy-discussion mailing list