[MacPorts] #71255: py-matplotlib @3.9.2_0: missing symbols on macOS 10.13 (High Sierra) (was: py-matplotlib 3.9.2_0: missing symbols on macOS 10.13 (High Sierra))

MacPorts noreply at macports.org
Thu Nov 7 05:26:04 UTC 2024


#71255: py-matplotlib @3.9.2_0: missing symbols on macOS 10.13 (High Sierra)
----------------------------+------------------------
  Reporter:  simonradford   |      Owner:  reneeotten
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.10.4
Resolution:                 |   Keywords:  highsierra
      Port:  py-matplotlib  |
----------------------------+------------------------
Changes (by ryandesign):

 * keywords:   => highsierra


Old description:

> After a recent upgrade, matplotlib 3.9.2_0 doesn't work on MacOS 10.13
> (High Sierra). There appears to be a missing symbol,
> "__ZN3agg10curve3_div4initEdddddd". The same error occurs with both
> python 3.12 and 3.11.
>
> There was no problem with the previous version of matplotlib (3.8.4_0).
> There is no problem on MacOS 15.0.1 (Sequoia).
>
> To demonstrate the error, start python, then "import matplotlib.pyplot as
> plt".
>
> % python
> Python 3.12.7 (main, Oct  5 2024, 00:30:04) [Clang 9.1.0
> (clang-902.0.39.2)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import matplotlib.pyplot as plt
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
> /site-packages/matplotlib/__init__.py", line 159, in <module>
>     from . import _api, _version, cbook, _docstring, rcsetup
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
> /site-packages/matplotlib/rcsetup.py", line 28, in <module>
>     from matplotlib.colors import Colormap, is_color_like
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
> /site-packages/matplotlib/colors.py", line 57, in <module>
>     from matplotlib import _api, _cm, cbook, scale
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
> /site-packages/matplotlib/scale.py", line 22, in <module>
>     from matplotlib.ticker import (
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
> /site-packages/matplotlib/ticker.py", line 144, in <module>
>     from matplotlib import transforms as mtransforms
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
> /site-packages/matplotlib/transforms.py", line 49, in <module>
>     from matplotlib._path import (
> ImportError:
> dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
> /site-packages/matplotlib/_path.cpython-312-darwin.so, 2): Symbol not
> found: __ZN3agg10curve3_div4initEdddddd
>   Referenced from:
> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
> /site-packages/matplotlib/_path.cpython-312-darwin.so
>   Expected in: flat namespace
>  in
> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
> /site-packages/matplotlib/_path.cpython-312-darwin.so

New description:

 After a recent upgrade, matplotlib 3.9.2_0 doesn't work on MacOS 10.13
 (High Sierra). There appears to be a missing symbol,
 `__ZN3agg10curve3_div4initEdddddd`. The same error occurs with both python
 3.12 and 3.11.

 There was no problem with the previous version of matplotlib (3.8.4_0).
 There is no problem on MacOS 15.0.1 (Sequoia).

 To demonstrate the error, start `python`, then `import matplotlib.pyplot
 as plt`.

 {{{
 % python
 Python 3.12.7 (main, Oct  5 2024, 00:30:04) [Clang 9.1.0
 (clang-902.0.39.2)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import matplotlib.pyplot as plt
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/matplotlib/__init__.py", line 159, in <module>
     from . import _api, _version, cbook, _docstring, rcsetup
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/matplotlib/rcsetup.py", line 28, in <module>
     from matplotlib.colors import Colormap, is_color_like
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/matplotlib/colors.py", line 57, in <module>
     from matplotlib import _api, _cm, cbook, scale
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/matplotlib/scale.py", line 22, in <module>
     from matplotlib.ticker import (
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/matplotlib/ticker.py", line 144, in <module>
     from matplotlib import transforms as mtransforms
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/matplotlib/transforms.py", line 49, in <module>
     from matplotlib._path import (
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/matplotlib/_path.cpython-312-darwin.so, 2): Symbol not
 found: __ZN3agg10curve3_div4initEdddddd
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/matplotlib/_path.cpython-312-darwin.so
   Expected in: flat namespace
  in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/matplotlib/_path.cpython-312-darwin.so
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/71255#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list