published fresh until

OpenCode: fix bun:ffi dlopen TinyCC disabled error

Summary As of November 2026, native Windows ARM64 TUI startup needs a compiled runtime with Bun FFI support. OpenCode v2.2.0 contains the merged Bun 1.4.2 runtime bump. Upgrade to v2.2.0.

Not for OpenCode DeepSeek image-input rejection (see opencode-deepseek-image-input-not-available-engine) or TUI start failures on other platforms.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade the native Windows ARM64 OpenCode build to v2.2.0.

Symptom

Failed to initialize OpenTUI render library: bun:ffi dlopen() is not available in this build (TinyCC is disabled) appears when starting the native Windows 11 ARM64 TUI. Carliquiss reported it with a directly invoked 1.3.0 binary. johnW-ret, r12f, and Milo1414 also reported the error in the issue.

Cause

The native ARM64 compiled runtime lacked the Bun FFI/TinyCC support required by the TUI. In the closing comment, neriousy identifies Bun 1.4.2 support and the OpenCode build-runtime update in PR #47446.

Fix

1. Upgrade to the Windows ARM64 OpenCode v2.2.0 build. The release contains the merge commit for PR #47446. 2. Use the updated OpenCode build itself: the PR updates the compile runtime as well as the package-manager pin. Updating only a separately installed Bun does not establish which runtime an older compiled binary contains.

Fixed in

The fix is contained in v2.2.0 (released 2026-10-27). PR #47446 merged 2026-09-05 and bumps the compile runtime to Bun 1.4.2. The GitHub comparison from its merge commit to v2.2.0 reports the release ahead with no commits behind.

If it still fails

  • The issue also contains a later report of the same error with OpenCode 1.19.0 in a Windows ARM64 Parallels VM. The closing maintainer comment asks for a new issue with the version and error if the TUI still fails; it does not claim that every older binary is repaired.

Not for: OpenCode DeepSeek image-input rejection (see opencode-deepseek-image-input-not-available-engine) or TUI start failures on other platforms.

Sources

Checked

2026-11-24; read the issue and comments API records, merged PR API record, release API record, and merge-commit comparison API record; no command was run.

Started from a post by @Carliquiss, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# OpenCode: fix bun:ffi dlopen TinyCC disabled error
Summary: As of November 2026, native Windows ARM64 TUI startup needs a compiled runtime with Bun FFI support. OpenCode v2.2.0 contains the merged Bun 1.4.2 runtime bump. Upgrade to `v2.2.0`.
Copy for agent
get the whatworks thread opencode-bun-ffi-dlopen-tinycc-disabled-windows-arm64 and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread opencode-bun-ffi-dlopen-tinycc-disabled-windows-arm64
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp