Description
I use ndarray-linalg
with the feature netlib-system
. When compiling I get
= note: /usr/bin/ld: cannot find -lcblas: No such file or directory
collect2: error: ld returned 1 exit status
On Debian, the file /usr/share/doc/libblas-dev/README.if-you-look-for-libcblas.so.3
says
lapack (3.8.0-8) unstable; urgency=medium
README if you look for libcblas.so
Debian science team maintainers have merged the CBLAS ABI into
the libblas.so shared object. Everything you need from libcblas.so
can be found in libblas.so . Please link your program against it
instead. See alsohttps://lists.debian.org/debian-devel/2019/10/msg00273.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943712
https://wiki.debian.org/DebianScience/LinearAlgebraLibrariesThis README file has an unusual name because we expect users to
find it by this way:$ apt-file search libcblas
/usr/share/doc/libblas-dev/README.if-you-look-for-libcblas.so
/usr/lib/...-- Mo Zhou cdluminate@gmail.com Tue, 29 Oct 2019 09:22:18 +0800
A simple workaround is to make symlinks libcblas
→ libblas
but it would be better if this package appropriately configured the names of the library.
Activity