“ld: symbol(s) not found for architecture x86_64” when installing 3.14t-dev over a previous snapshot

Đang mở
#3,051 9 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
28/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python, shell
Lĩnh vực
build-system

Hướng nghiên cứu

Start with the attached trace.log and python-build.20240907112503.73516.log, then reproduce the failure through pyenv install -v 3.14t-dev on the reported macOS and compiler setup. Compare the failure with the successful August 30 installation and determine whether the default python-build handling or the Common build problems guidance needs updating; done means the cause and an actionable project change are established.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Note that this issue is listed on the “Common build problems” page:
https://github.com/pyenv/pyenv/wiki/Common-build-problems#macos-ld-symbols-not-found-for-architecture-x86_64-1245

However, I tried running “brew remove binutils” and it said it’s not installed. Also, compiling and installing this version of Python worked on August 30, so I think it’s a new issue.
trace.log
python-build.20240907112503.73516.log

Prerequisite
  • Make sure your problem is not listed in the common build problems.
  • Make sure no duplicated issue has already been reported in the pyenv issues. You should look for closed issues, too.
  • Make sure you are not asking us to help solving your specific issue.
    • GitHub issues is opened mainly for development purposes. If you want to ask someone to help solving your problem, go to some community site like Gitter, StackOverflow, etc.
  • Make sure your problem is not derived from packaging (e.g. Homebrew).
    • Please refer to the package documentation for the installation issues, etc.
  • Make sure your problem is not derived from plugins.
    • This repository is maintaining pyenv and the default python-build plugin only. Please refrain from reporting issues of other plugins here.
Description
  • Platform information (e.g. Ubuntu Linux 16.04): macOS Sonoma 14.6.1
  • OS architecture (e.g. amd64): amd64
  • pyenv version: 2.4.11
  • Python version: 3.14t-dev
  • C Compiler information (e.g. gcc 7.3):
clang -v
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: x86_64-apple-darwin23.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  • Please attach the debug trace of the failing command as a gist:
    • Run env PYENV_DEBUG=1 <faulty command> 2>&1 | tee trace.log and attach trace.log. E.g. if you have a problem with installing Python, run env PYENV_DEBUG=1 pyenv install -v <version> 2>&1 | tee trace.log (note the -v option to pyenv install).
  • If you have a problem with installing Python, please also attach config.log from the build directory
    • The build directory is reported after the "BUILD FAILED" message and is usually under /tmp.
  • If the build succeeds but the problem is still with the build process (e.g. the resulting Python is missing a feature), please attach
    • the debug trace from reinstalling the faulty version with env PYENV_DEBUG=1 pyenv install -f -k -v <version> 2>&1 | tee trace.log
    • config.log from the build directory. When using pyenv install with -k as per above, the build directory will be under $PYENV_ROOT/sources.
Ngôn ngữ chính
Shell
Star
45.2k
Fork
3.3k
Merge trung bình
2 ngày 3 phút
Pull request đã merge (30 ngày)
32

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pyenv/pyenv

Tất cả issue của pyenv/pyenv

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.