[MacPorts] #64907: py*-numpy breaks with Symbol not found: ___addtf3, Referenced from: /opt/local/lib/libgcc/libgfortran.5.dylib
MacPorts
noreply at macports.org
Tue Mar 29 21:57:30 UTC 2022
#64907: py*-numpy breaks with Symbol not found: ___addtf3, Referenced from:
/opt/local/lib/libgcc/libgfortran.5.dylib
-----------------------+----------------------
Reporter: essandess | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: py-numpy
-----------------------+----------------------
`python3.9 -c 'import numpy'`
{{{
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/numpy/core/__init__.py", line 23, in <module>
from . import multiarray
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/numpy/core/multiarray.py", line 10, in <module>
from . import overrides
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/numpy/core/overrides.py", line 6, in <module>
from numpy.core._multiarray_umath import (
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/numpy/core/_multiarray_umath.cpython-39-darwin.so, 0x0002):
Symbol not found: ___addtf3
Referenced from: /opt/local/lib/libgcc/libgfortran.5.dylib
Expected in: /usr/lib/libSystem.B.dylib
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/numpy/__init__.py", line 144, in <module>
from . import core
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/numpy/core/__init__.py", line 49, in <module>
raise ImportError(msg)
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python3.9 from "/opt/local/bin/python3.9"
* The NumPy version is: "1.22.3"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/numpy/core/_multiarray_umath.cpython-39-darwin.so, 0x0002):
Symbol not found: ___addtf3
Referenced from: /opt/local/lib/libgcc/libgfortran.5.dylib
Expected in: /usr/lib/libSystem.B.dylib
}}}
Likely related: https://trac.macports.org/ticket/64800
--
Ticket URL: <https://trac.macports.org/ticket/64907>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list