1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-12 05:23:47 -05:00

+1 error message

native-api
2024-06-05 22:57:43 +03:00
parent db86f3a5e3
commit 784f9ab95c

@@ -17,7 +17,7 @@
- [macOS: "ld: symbol(s) not found for architecture x86_64" (#1245)](#macos-ld-symbol-s-not-found-for-architecture-x86-64-1245)
- [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" in MacOS](#configure-error-internal-configure-error-for-the-platform-triplet-please-file-a-bug-report-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](#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)
## Prerequisites
@@ -364,12 +364,19 @@ bash $ which -a pyenv
If yes, [remove it](https://github.com/pyenv/pyenv#uninstalling-pyenv).
## "configure: error: internal configure error for the platform triplet, please file a bug report" 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
```
checking for the platform triplet based on compiler characteristics... darwin
configure: error: internal configure error for the platform triplet, please file a bug report
```
or
```
checking build system type... arm-apple-darwin<...>
checking host system type... arm-apple-darwin<...>
<...>
configure: error: Unexpected output of 'arch' on OSX
```
This means that *the Python version you're installing doesn't support your MacOS and/or XCode version.* In particular:
@@ -383,8 +390,12 @@ Unlink/Remove them from your `PATH`.
Known error messages they cause:
* Homebrew `binutils` on `PATH`:
* `configure: error: Unexpected output of 'arch' on OSX`
* Homebrew `binutils` on `PATH` (note that the architecture is detected as `arm64` (`aarch64` is also possible) rather than `arm`):
* ```
checking build system type... arm64-apple-darwin<...>
checking host system type... arm64-apple-darwin<...>
configure: error: Unexpected output of 'arch' on OSX
```
* Homebrew `llvm` on `PATH`:
* `warning: pointer is missing a nullability type specifier`
* `llvm-ar: error: libpython3.10.a: Invalid record`