From c64b24792b04f60a90b8eec2844b853ad7a6367f Mon Sep 17 00:00:00 2001 From: native-api Date: Sat, 8 Feb 2025 13:12:30 +0300 Subject: [PATCH] macOS: "ld: symbol(s) not found for architecture arm64" --- Common-build-problems.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Common-build-problems.md b/Common-build-problems.md index dc05275..39f7b24 100644 --- a/Common-build-problems.md +++ b/Common-build-problems.md @@ -14,7 +14,8 @@ - [Build failed: Resource temporarily unavailable](#build-failed-resource-temporarily-unavailable) - [ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?](#error-the-python-ssl-extension-was-not-compiled-missing-the-openssl-lib) - [python-build: definition not found](#python-build-definition-not-found) -- [macOS: "ld: symbol(s) not found for architecture x86_64" (#1245)](#macos-ld-symbols-not-found-for-architecture-x86_64-1245) +- [macOS: "ld: symbol(s) not found for architecture x86_64"](#macos-ld-symbols-not-found-for-architecture-x86_64) +- [macOS: "ld: symbol(s) not found for architecture arm64"](#macos-ld-symbols-not-found-for-architecture-arm64) - [Python cannot find a dependent dynamic library even though it's installed](#python-cannot-find-a-dependent-dynamic-library-even-though-its-installed) - ["python-build: definition not found" or another new feature missing even though you have a new enough Pyenv](#python-build-definition-not-found-or-another-new-feature-missing-even-though-you-have-a-new-enough-pyenv) - ["configure: error: internal configure error for the platform triplet, please file a bug report" or "configure: error: Unexpected output of 'arch' on OSX" in MacOS](#configure-error-internal-configure-error-for-the-platform-triplet-please-file-a-bug-report-or-configure-error-unexpected-output-of-arch-on-osx-in-macos) @@ -330,7 +331,7 @@ This is the reason why `binutils` is keg-only. To fix, uninstall binutils `brew remove binutils`, or remove them from PATH, or execute the install command with `AR=/usr/bin/ar`. -## macOS: "ld: symbol(s) not found for architecture arm64 +## macOS: "ld: symbol(s) not found for architecture arm64" This happens if: