1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-13 22:03:52 -05:00

Updated Common build problems (markdown)

57194
2025-06-04 18:38:21 +00:00
parent fcfb5897b0
commit a87858ebf6

@@ -21,6 +21,8 @@
- ["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)
- [Keg-only Homebrew packages are forcibly linked / added to PATH](#keg-only-homebrew-packages-are-forcibly-linked--added-to-path)
- [On Apple Silicon, when building for ARM64, a dependency is present in x64 Homebrew but not arm64 Homebrew](#on-apple-silicon-when-building-for-arm64-a-dependency-is-present-in-x64-homebrew-but-not-arm64-homebrew)
- [Tests Fail During PGO Compilation](#tests-fail-during-pgo-compilation)
## Prerequisites
Below are some alternative packages that are not in the recommended set and should generally only be considered when there are special needs and/or problems with those in it.
@@ -450,4 +452,10 @@ Known errors and their resolutions:
Since x64's Homebrew is in `/usr/local`, it's always in the compiler's search path. We however prepend `/opt/homebrew` to the compiler's search path when compiling for arm64 (actually, when `brew` on `PATH` is pointing there).
So if a library is installed and linked in the x64 Homebrew but not in Arm64 Homebrew, the compiler still finds it, even if it's compiling for arm64. However, linking with it fails as it's for the wrong architecture.
So if a library is installed and linked in the x64 Homebrew but not in Arm64 Homebrew, the compiler still finds it, even if it's compiling for arm64. However, linking with it fails as it's for the wrong architecture.
## Tests Fail During PGO Compilation
If you're using ZFS, please refer to: https://github.com/python/cpython/issues/81765#issuecomment-2940741028
More info: https://github.com/pyenv/pyenv/issues/3267