[Bug 299238] lang/python312: 'import scipy' fails on arm64 due to Python linking to a wrong gcc shared library
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 299238] science/py-scipy: 'import scipy' fails on arm64"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Oct 2026 05:12:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299238 --- Comment #7 from Yuri Victorovich <yuri@freebsd.org> --- (In reply to Charlie Li from comment #6) The problem is that ldconfig brings a different version of gcc shared lib in the run-time. However, this doesn't need to be fixed because the attached patch eliminates the need to be dependent on the gcc shared lib. I verified: the same patch removes the gcc dependency in python-3.13 too. The low level command that fails: 'from _ctypes import Structure'. I've ran an extensive Poudriere batch with hundreds of Python packages in a 15.1/aarch64 VM - all of them succeeded with this patch. I recommend that you commit the attached patch for all Python versions. -- You are receiving this mail because: You are the assignee for the bug.