-
Bug
-
Resolution: Fixed
-
Major
-
master
-
None
-
QEMU x86_64
Issue Overview:
SciPy, a crucial scientific library for Python, relies on the OpenBLAS library for its numerical computations. However, there is a linking problem between SciPy and OpenBLAS, resulting in runtime errors marked by "undefined symbols" when using SciPy for scientific computations.
Symptoms:
- The build process of SciPy is completed without errors.
- When attempting to use SciPy for numerical calculations, runtime errors occur, typically manifesting as "undefined symbols."
- These errors indicate that SciPy is unable to locate and link with the required OpenBLAS libraries correctly.
Probable Cause:
The issue likely stems from a discrepancy in the library names that SciPy expects (`libblas.so`) and the library names provided by OpenBLAS (`libopenblas.so`). This inconsistency in library naming leads to failed linkage during runtime.
Proposed Solution:
To resolve this issue, I propose the following solution(s):
- Create Symlink: Create a symbolic link from `libblas.so` to `libopenblas.so` during the installation of OpenBLAS. This symlink will allow SciPy to locate the required library with the expected name.