Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4925

SciPy Fails to Link with OpenBLAS Libraries, Resulting in Undefined Symbols at Runtime

XMLWordPrintable

    • 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):

      1. 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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            malik727 Malik Talha
            malik727 Malik Talha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: