/usr/lib/libblas.so.3.9.0 missing to properly reblace blas package
Task Info (Flyspray) | |
---|---|
Opened By | Michael Laß (Bevan) |
Task ID | 66453 |
Type | Bug Report |
Project | Community Packages |
Category | Packages |
Version | None |
OS | All |
Opened | 2020-04-28 18:01:00 UTC |
Status | Assigned |
Assignee | Felix Yan (felixonmars) |
Details
Description:
openblas can be installed as a replacement for blas. However, doing so causes an issue with CMake: Using CMake to link software against CBLAS or LAPACK, it tries to link in /usr/lib/libblas.so.3.9.0. However that file is only included in blas and not in openblas. This leads to the following error message:
--snip-- CMake Error at /usr/lib/cmake/lapack-3.9.0/lapack-targets.cmake:93 (message): The imported target "blas" references the file
"/usr/lib/libblas.so.3.9.0"
but this file does not exist. [...] --snip--
The problem can easily be solved by creating a symlink from /usr/lib/libblas.so.3.9.0 to /usr/lib/libopenblasp-r0.3.9.so. Doing so in the openblas package would however require updating it everytime blas/cblas/lapack get updated.
Package version: 0.3.9-1