MoonshotAI / MoonshotAI/kimi-code

Linux single-binary fails on CentOS 7 with glibc 2.17 due to GLIBC_2.27/2.28/2.25 requirement

Open
#928 4 comments 1 reaction 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

What version of Kimi Code is running?

K2.7 Code

Which open platform/subscription were you using?

Kimi Code

Which model were you using?

K2.7 Code

What platform is your computer?

Linux 3.10.0-957.el7.x86_64 x86_64 x86_64

What issue are you seeing?

环境信息
• 操作系统:CentOS Linux 7 (Core)
• 内核:3.10.0-957.el7.x86_64
• glibc 版本:2.17
• Kimi Code CLI 二进制路径:/home/imau_zhangm/.kimi-code/bin/kimi
• 二进制文件时间:2026-06-15 09:31
• 当前可回退使用的版本:kimi-legacy / PyPI kimi-cli 1.47.0
复现步骤

  1. 在 CentOS 7 上执行官方安装脚本:
    curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash

环境信息
• 操作系统:CentOS Linux 7 (Core)
• 内核:3.10.0-957.el7.x86_64
• glibc 版本:2.17
• Kimi Code CLI 二进制路径:/home/user/.kimi-code/bin/kimi
• 二进制文件时间:2026-06-15 09:31
• 当前可回退使用的版本:kimi-legacy / PyPI kimi-cli 1.47.0
复现步骤

  1. 在 CentOS 7 上执行官方安装脚本:
    curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
  2. 安装完成后运行:
    kimi --version
    实际结果 二进制无法启动,报错:
    /lib64/libm.so.6: version GLIBC_2.27' not found (required by /home/user/.kimi-code/bin/kimi) /lib64/libc.so.6: version GLIBC_2.27' not found (required by /home/user/.kimi-code/bin/kimi)
    /lib64/libc.so.6: version GLIBC_2.28' not found (required by /home/user/.kimi-code/bin/kimi) /lib64/libc.so.6: version GLIBC_2.25' not found (required by /home/user/.kimi-code/bin/kimi)

期望结果 新版 kimi-code 能在 glibc 2.17 的 CentOS 7/RHEL 7 系统上运行,或者官方提供兼容旧 glibc 的构建/安装方式(例如 manylinux/静态链接、glibc 2.17 兼容包、或明确给出最
低系统要求)。

临时 workaround 回退到 PyPI 上的 kimi-cli 1.47.0(/ddnstor/user/anaconda3/envs/kimi/bin/kimi-legacy),该版本可以正常使用。

What steps can reproduce the bug?
  1. 在 CentOS 7 上执行官方安装脚本:
    curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
  2. 安装完成后运行:
    kimi --version
    实际结果 二进制无法启动,报错:
    /lib64/libm.so.6: version GLIBC_2.27' not found (required by /home/user/.kimi-code/bin/kimi) /lib64/libc.so.6: version GLIBC_2.27' not found (required by /home/user/.kimi-code/bin/kimi)
    /lib64/libc.so.6: version GLIBC_2.28' not found (required by /home/user/.kimi-code/bin/kimi) /lib64/libc.so.6: version GLIBC_2.25' not found (required by /home/user/.kimi-code/bin/kimi)
What is the expected behavior?

No response

Additional information

No response

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 by inspecting the official install.sh flow and the published kimi binary, then reproduce the failure on CentOS 7 with glibc 2.17 using the reported kimi --version command. Done means the installed binary launches on glibc 2.17, or the installer clearly enforces a documented minimum system requirement and provides the supported fallback.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, typescript
Domain
build-system, cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.