On 07/07/2011 05:23 AM, Jeffrey Spencer wrote:
> The error is below:
>
> creating build/temp.linux-x86_64-2.6/numpy/core/blasdot
> compile options: '-DATLAS_INFO="\"None\"" -Inumpy/core/blasdot
> -Inumpy/core/include
> -Ibuild/src.linux-x86_64-2.6/numpy/core/include/numpy
> -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
> -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
> -Inumpy/core/src/umath -Inumpy/core/include
> -I/home/jspender/include/python2.6
> -Ibuild/src.linux-x86_64-2.6/numpy/core/src/multiarray
> -Ibuild/src.linux-x86_64-2.6/numpy/core/src/umath -c'
> gcc: numpy/core/blasdot/_dotblas.c
> numpy/core/blasdot/_dotblas.c: In function ‘dotblas_matrixproduct’:
> numpy/core/blasdot/_dotblas.c:239: warning: comparison of distinct
> pointer types lacks a cast
> numpy/core/blasdot/_dotblas.c:257: warning: passing argument 3 of
> ‘*(PyArray_API + 2240u)’ from incompatible pointer type
> numpy/core/blasdot/_dotblas.c:292: warning: passing argument 3 of
> ‘*(PyArray_API + 2240u)’ from incompatible pointer type
> gcc -pthread -shared
> build/temp.linux-x86_64-2.6/numpy/core/blasdot/_dotblas.o
> -L/usr/local/lib -Lbuild/temp.linux-x86_64-2.6 -lf77blas -lcblas -latlas
> -o build/lib.linux-x86_64-2.6/numpy/core/_dotblas.so
> /usr/bin/ld: skipping incompatible /usr/local/lib/libf77blas.a when
> searching for -lf77blas
> /usr/bin/ld: skipping incompatible /usr/local/lib/libf77blas.a when
> searching for -lf77blas
> /usr/bin/ld: cannot find -lf77blas
> collect2: ld returned 1 exit status
> /usr/bin/ld: skipping incompatible /usr/local/lib/libf77blas.a when
> searching for -lf77blas
> /usr/bin/ld: skipping incompatible /usr/local/lib/libf77blas.a when
> searching for -lf77blas
> /usr/bin/ld: cannot find -lf77blas
> collect2: ld returned 1 exit status
> error: Command "gcc -pthread -shared
> build/temp.linux-x86_64-2.6/numpy/core/blasdot/_dotblas.o
> -L/usr/local/lib -Lbuild/temp.linux-x86_64-2.6 -lf77blas -lcblas -latlas
> -o build/lib.linux-x86_64-2.6/numpy/core/_dotblas.so" failed with exit
> status 1
>
> Any help would be appreciated.
>
Python is looking for a 64-bit  library as the one in /usr/local/lib/ is 
either 32-bit or built with a different compiler version. If you have 
the correct library in another location then you need to point numpy to 
it or just build everything with the same compiler.

Bruce

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to