[MacPorts] #68810: OpenBLAS: libopenblas.0.dylib cannot find symbol _xerbla_

MacPorts noreply at macports.org
Wed Nov 29 23:19:06 UTC 2023


#68810: OpenBLAS: libopenblas.0.dylib cannot find symbol _xerbla_
--------------------+-----------------------
 Reporter:  erikbs  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  OpenBLAS,
--------------------+-----------------------
 After the recent major changes to the OpenBLAS Portfile (migration to
 CMake etc.), `libopenblas.0.dylib` fails to find the symbol `_xerbla_`
 when loaded. This breaks e.g. py-numpy, which fails on import, and py-
 scipy, which depends on NumPy being imported successfully.

 Here is the output when calling `import numpy` from the Python 3.11 REPL
 after installing a py311-numpy version that depends on the new OpenBLAS
 version:

 {{{

 >>> import numpy
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/numpy/core/__init__.py", line 24, in <module>
     from . import multiarray
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/numpy/core/multiarray.py", line 10, in <module>
     from . import overrides
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/numpy/core/overrides.py", line 8, in <module>
     from numpy.core._multiarray_umath import (
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/numpy/core/_multiarray_umath.cpython-311-darwin.so, 2):
 Symbol not found: _xerbla_
   Referenced from: /opt/local/lib/libopenblas.0.dylib
   Expected in: flat namespace
  in /opt/local/lib/libopenblas.0.dylib

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68810>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list