Gentoo Archives: gentoo-science

From: Thomas Kahle <tomka@g.o>
To: Gentoo Science <gentoo-science@l.g.o>
Subject: [gentoo-science] is numpy using the old lapack interface?
Date: Mon, 29 Oct 2012 18:03:40
Message-Id: 20121029173826.GC30687@schlaumatte.gateway.2wire.net
1 Hi,
2
3 since the recent move to -lrefblas and friends numpy-1.5.1
4 (a.k.a. sage-numpy) does not link anymore. Probably -lblas is hardcoded
5 somehwere and should be replaced by $(pkg-config --libs blas)?
6
7 Thanks,
8 Thomas
9
10 [...]
11 x86_64-pc-linux-gnu-gcc: numpy/core/blasdot/_dotblas.c
12 /usr/bin/gfortran -Wall -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared build-3.2/temp.linux-x86_64-3.2/numpy/core/blasdot/_dotblas.o -L/usr/lib64 -L/usr/lib64 -Lbuild-3.2/temp.linux-x86_64-3.2 -lblas -lpython3.2 -lgfortran -o build-3.2/lib.linux-x86_64-3.2/numpy/core/_dotblas.cpython-32.so
13 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lblas
14 collect2: ld returned 1 exit status
15 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lblas
16 collect2: ld returned 1 exit status
17 error: Command "/usr/bin/gfortran -Wall -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared build-3.2/temp.linux-x86_64-3.2/numpy/core/blasdot/_dotblas.o -L/usr/lib64 -L/usr/lib64 -Lbuild-3.2/temp.linux-x86_64-3.2 -lblas -lpython3.2 -lgfortran -o build-3.2/lib.linux-x86_64-3.2/numpy/core/_dotblas.cpython-32.so" failed with exit status 1
18
19
20
21 --
22 Thomas Kahle
23 http://dev.gentoo.org/~tomka/

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-science] is numpy using the old lapack interface? Francois Bissey <fbissey@××××××××××××.nz>