[GH-ISSUE #22] Build static linked OverlayBD CLI binaries #10

Closed
opened 2026-10-29 14:18:19 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @yingdi-shan on GitHub (Jul 27, 2026).
Original GitHub issue: https://github.com/kvcache-ai/AgentENV/issues/22

Problem

AgentENV currently downloads OverlayBD CLI tools from an Ubuntu .deb. The binaries and bundled libraries are tied to Ubuntu ABI and dependency versions, which prevents reliable installation on other Linux distributions.

Proposed Work

  • Build OverlayBD CLI from a pinned source revision using a musl toolchain.
  • Statically link all dependencies, including the C++ runtime, OpenSSL, libaio, zstd, and other native libraries.
  • Publish the binaries in a versioned, architecture-specific .tar.gz artifact.
  • Update config/deps_manifest.toml to reference the static bundle.
  • Update src/setup/overlaybd.rs to extract the portable archive directly.
  • Package the static tools into AgentENV server release bundles.
Originally created by @yingdi-shan on GitHub (Jul 27, 2026). Original GitHub issue: https://github.com/kvcache-ai/AgentENV/issues/22 ## Problem AgentENV currently downloads OverlayBD CLI tools from an Ubuntu `.deb`. The binaries and bundled libraries are tied to Ubuntu ABI and dependency versions, which prevents reliable installation on other Linux distributions. ## Proposed Work - Build OverlayBD CLI from a pinned source revision using a musl toolchain. - Statically link all dependencies, including the C++ runtime, OpenSSL, libaio, zstd, and other native libraries. - Publish the binaries in a versioned, architecture-specific `.tar.gz` artifact. - Update `config/deps_manifest.toml` to reference the static bundle. - Update `src/setup/overlaybd.rs` to extract the portable archive directly. - Package the static tools into AgentENV server release bundles.
Author
Owner

@yingdi-shan commented on GitHub (Aug 8, 2026):

Fixed in PR #139.

<!-- gh-comment-id:5226833456 --> @yingdi-shan commented on GitHub (Aug 8, 2026): Fixed in PR #139.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/AgentENV#10
No description provided.