rust-ndarray / ndarray-linalg

Linear algebra package for rust-ndarray using LAPACK binding
Other
376 stars 77 forks source link

Linking on Debian: libblas instead of libcblas #370

Open Chris00 opened 9 months ago

Chris00 commented 9 months ago

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

A simple workaround is to make symlinks libcblaslibblas but it would be better if this package appropriately configured the names of the library.