MoonshotAI / MoonshotAI/kimi-code

[macOS 11] dyld: Symbol not found — binary built for macOS 13.5, incompatible with macOS 11.7.11

Open
#3,180 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
7.5k
Forks
1.2k
Avg merge
11h 53m
Merged PRs (30d)
350

Description

你运行的 Kimi Code 版本是?

你使用的是哪个开放平台/订阅?

你使用的是哪个模型?

你的电脑平台是?

macOS

你遇到了什么问题?
Environment
  • OS: macOS 11.7.11 (Monterey) / Darwin 20.x
  • Architecture: Intel x64
  • Kimi Code CLI version: 0.38.0
  • Installation method: Official install script (curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash)
Steps to Reproduce
  1. Run the official install script on macOS 11.7.11
  2. Execute kimi --version
Expected Behavior

kimi CLI should start normally.

Actual Behavior
复现步骤?

h | bash
==> Detected target: darwin-x64
==> Resolving latest version from https://code.kimi.com/kimi-code/latest
==> Latest version: 0.38.0
==> Fetching manifest https://code.kimi.com/kimi-code/binaries/0.38.0/manifest.json
==> Downloading https://code.kimi.com/kimi-code/binaries/0.38.0/kimi-code-darwin-x64
######################################################################## 100.0%######################################################################### 100.0%
==> Verifying checksum
==> Installed to /Users/rongziyi/.kimi-code/bin/kimi
==> Added /Users/rongziyi/.kimi-code/bin to PATH in /Users/rongziyi/.zshrc
==> Done. Run: kimi --version
==> If kimi is not found, restart your shell or run: source /Users/rongziyi/.zshrc
rongziyi@rongziyideiMac ~ % kimi --version
zsh: command not found: kimi
rongziyi@rongziyideiMac ~ % export PATH="$HOME/.local/bin:$PATH"
rongziyi@rongziyideiMac ~ % source /Users/rongziyi/.zshrc
rongziyi@rongziyideiMac ~ % kimi --version
dyld: Symbol not found: __ZNSt3__113basic_filebufIcNS_11char_traitsIcEEE4openEPKcj
Referenced from: /Users/rongziyi/.kimi-code/bin/kimi (which was built for Mac OS X 13.5)
Expected in: /usr/lib/libc++.1.dylib

zsh: abort kimi --version
rongziyi@rongziyideiMac ~ %

期望的行为是什么?

安装kimicode

补充信息

No response

Contribution
  • 我愿意自己提交修复此 bug 的 PR(请先等待维护者在本 issue 中批准)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the official install.sh flow and the binaries/0.38.0/manifest.json endpoint used to select and download kimi-code-darwin-x64. Check how the macOS binary is built and which deployment target it declares, then verify that the installed CLI starts on macOS 11.7.11 Intel and still works on supported newer macOS versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
cli, operating-systems, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.