Is there any support for running OpenCode on MacOS older version? #3790

Open
opened 2026-02-16 17:41:28 -05:00 by yindo · 15 comments
Owner

Originally created by @visbigHQ on GitHub (Dec 23, 2025).

Originally assigned to: @rekram1-node on GitHub.

Question

I installed opencode using curl script command and I also tried installing from dmg file but opencode doesn't seem to work on MacOS older versions. This is extremely bad experience. I'm using MacOS Big Sur and I have intel MacBook. I need help.

Originally created by @visbigHQ on GitHub (Dec 23, 2025). Originally assigned to: @rekram1-node on GitHub. ### Question I installed opencode using curl script command and I also tried installing from dmg file but opencode doesn't seem to work on MacOS older versions. This is extremely bad experience. I'm using MacOS Big Sur and I have intel MacBook. I need help.
Author
Owner

@github-actions[bot] commented on GitHub (Dec 23, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3765: Failed to initialize OpenTUI render library: Failed to open library (reports issues on macOS with OpenTUI initialization)
  • #506: darwin universal error for x64 (reports macOS Intel x86_64 compatibility issues)
  • #5175: can not start opencode on ubuntu /tmp does not allow execution of .so (related to shared library issues on older systems)

These issues describe similar problems with OpenCode failing to run on older macOS versions or systems with compatibility constraints. Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 23, 2025): This issue might be a duplicate of existing issues. Please check: - #3765: Failed to initialize OpenTUI render library: Failed to open library (reports issues on macOS with OpenTUI initialization) - #506: darwin universal error for x64 (reports macOS Intel x86_64 compatibility issues) - #5175: can not start opencode on ubuntu /tmp does not allow execution of .so (related to shared library issues on older systems) These issues describe similar problems with OpenCode failing to run on older macOS versions or systems with compatibility constraints. Feel free to ignore if none of these address your specific case.
Author
Owner

@akemmanuel commented on GitHub (Dec 23, 2025):

You can run it with Docker. You need to find a old version of Docker Desktop (which is compatible with your MacOS) and install it. The command to run it afterwards is docker run -it --rm ghcr.io/sst/opencode

@akemmanuel commented on GitHub (Dec 23, 2025): You can run it with Docker. You need to find a old version of Docker Desktop (which is compatible with your MacOS) and install it. The command to run it afterwards is `docker run -it --rm ghcr.io/sst/opencode`
Author
Owner

@rekram1-node commented on GitHub (Dec 23, 2025):

whats the issue u encountered

@rekram1-node commented on GitHub (Dec 23, 2025): whats the issue u encountered
Author
Owner

@sujayxaradhya commented on GitHub (Dec 23, 2025):

whats the issue u encountered

I got that opencode is built for MacOS 13 or later. When I ran npm command to install from Docs.

When I ran opencode in terminal after installing it with npm.

I'm an Intel MacBook Big Sur user and will not get any update more than that from Apple and because of this reason sadly I can't able to use OpenCode.

I believe the same problem is with @visbigHQ as well.

@sujayxaradhya commented on GitHub (Dec 23, 2025): > whats the issue u encountered I got that opencode is built for MacOS 13 or later. When I ran npm command to install from Docs. When I ran `opencode` in terminal after installing it with npm. I'm an Intel MacBook Big Sur user and will not get any update more than that from Apple and because of this reason sadly I can't able to use OpenCode. I believe the same problem is with @visbigHQ as well.
Author
Owner

@akemmanuel commented on GitHub (Dec 23, 2025):

You can run it with Docker. You need to find a old version of Docker Desktop (which is compatible with your MacOS) and install it. The command to run it afterwards is docker run -it --rm ghcr.io/sst/opencode

I tried on MacOS 11 and it works

@akemmanuel commented on GitHub (Dec 23, 2025): > You can run it with Docker. You need to find a old version of Docker Desktop (which is compatible with your MacOS) and install it. The command to run it afterwards is `docker run -it --rm ghcr.io/sst/opencode` I tried on MacOS 11 and it works
Author
Owner

@rekram1-node commented on GitHub (Dec 23, 2025):

But what's the issue you encountered? I see no errors?

@rekram1-node commented on GitHub (Dec 23, 2025): But what's the issue you encountered? I see no errors?
Author
Owner

@visbigHQ commented on GitHub (Dec 23, 2025):

But what's the issue you encountered? I see no errors?

I got the following errors:

Command -> opencode
Output -> dyld: Symbol not found: _ubrk_clone
  Referenced from: /Users/sujayxaradhya/.opencode/bin/opencode (which was built for Mac OS X 13.0)
  Expected in: /usr/lib/libicucore.A.dylib

[1]    80334 abort      opencode
@visbigHQ commented on GitHub (Dec 23, 2025): > But what's the issue you encountered? I see no errors? I got the following errors: ``` Command -> opencode Output -> dyld: Symbol not found: _ubrk_clone Referenced from: /Users/sujayxaradhya/.opencode/bin/opencode (which was built for Mac OS X 13.0) Expected in: /usr/lib/libicucore.A.dylib [1] 80334 abort opencode ```
Author
Owner

@shutup commented on GitHub (Jan 17, 2026):

i encounter the same issue,i am not sure why this should happen, my mbp cannot upgrade to new system version,and i think the issue is very easy to solve, for bun , bun v1.1.20 runs on Big Sur but v1.1.21 doesn't. and the issue happen every few version, i think it is just a compatible issue,maybe a build setting,why it such difficult to solve
dyld: Symbol not found: _ubrk_clone
Referenced from: /Users/xxx/.bun/install/global/node_modules/opencode-darwin-x64/bin/opencode (which was built for Mac OS X 13.0)
Expected in: /usr/lib/libicucore.A.dylib

@shutup commented on GitHub (Jan 17, 2026): i encounter the same issue,i am not sure why this should happen, my mbp cannot upgrade to new system version,and i think the issue is very easy to solve, for bun , bun v1.1.20 runs on Big Sur but v1.1.21 doesn't. and the issue happen every few version, i think it is just a compatible issue,maybe a build setting,why it such difficult to solve dyld: Symbol not found: _ubrk_clone Referenced from: /Users/xxx/.bun/install/global/node_modules/opencode-darwin-x64/bin/opencode (which was built for Mac OS X 13.0) Expected in: /usr/lib/libicucore.A.dylib
Author
Owner

@cnscottluo commented on GitHub (Jan 21, 2026):

same issue

@cnscottluo commented on GitHub (Jan 21, 2026): same issue
Author
Owner

@TonyZhang1993 commented on GitHub (Jan 22, 2026):

But what's the issue you encountered? I see no errors?

I got the following errors:

Command -> opencode
Output -> dyld: Symbol not found: _ubrk_clone
  Referenced from: /Users/sujayxaradhya/.opencode/bin/opencode (which was built for Mac OS X 13.0)
  Expected in: /usr/lib/libicucore.A.dylib

[1]    80334 abort      opencode

same issue, looking forward the solution.
ps. I'm an Intel MacBook Big Sur user, Neither the OpenCode Terminal nor OpenCode Desktop (Beta) is functioning properly. :(

@TonyZhang1993 commented on GitHub (Jan 22, 2026): > > But what's the issue you encountered? I see no errors? > > I got the following errors: > > ``` > Command -> opencode > Output -> dyld: Symbol not found: _ubrk_clone > Referenced from: /Users/sujayxaradhya/.opencode/bin/opencode (which was built for Mac OS X 13.0) > Expected in: /usr/lib/libicucore.A.dylib > > [1] 80334 abort opencode > ``` same issue, looking forward the solution. ps. I'm an Intel MacBook Big Sur user, Neither the OpenCode Terminal nor OpenCode Desktop (Beta) is functioning properly. :(
Author
Owner

@alexkkss commented on GitHub (Jan 26, 2026):

I encountered the same problem.
Do I need to upgrade to macOS?(macOs 12.2.1)

dyld[20094]: Symbol not found: _ubrk_clone
  Referenced from: /Users/mobvista/.opencode/bin/opencode
  Expected in: /usr/lib/libicucore.A.dylib
[1]    20094 abort      opencode

Update
Upgrading from 12.2.1 to 12.7.6 resolved this issue,OpenCode Terminal works

@alexkkss commented on GitHub (Jan 26, 2026): I encountered the same problem. Do I need to upgrade to macOS?(macOs 12.2.1) ``` dyld[20094]: Symbol not found: _ubrk_clone Referenced from: /Users/mobvista/.opencode/bin/opencode Expected in: /usr/lib/libicucore.A.dylib [1] 20094 abort opencode ``` --------- Update Upgrading from 12.2.1 to 12.7.6 resolved this issue,OpenCode Terminal works
Author
Owner

@TonyZhang1993 commented on GitHub (Jan 26, 2026):

But what's the issue you encountered? I see no errors?

I got the following errors:

Command -> opencode
Output -> dyld: Symbol not found: _ubrk_clone
  Referenced from: /Users/sujayxaradhya/.opencode/bin/opencode (which was built for Mac OS X 13.0)
  Expected in: /usr/lib/libicucore.A.dylib

[1]    80334 abort      opencode

same issue, looking forward the solution. ps. I'm an Intel MacBook Big Sur user, Neither the OpenCode Terminal nor OpenCode Desktop (Beta) is functioning properly. :(

update here.
After I updated MacOS to 12.7.4 (21H1123), Opencode works fine.

@TonyZhang1993 commented on GitHub (Jan 26, 2026): > > > But what's the issue you encountered? I see no errors? > > > > > > I got the following errors: > > ``` > > Command -> opencode > > Output -> dyld: Symbol not found: _ubrk_clone > > Referenced from: /Users/sujayxaradhya/.opencode/bin/opencode (which was built for Mac OS X 13.0) > > Expected in: /usr/lib/libicucore.A.dylib > > > > [1] 80334 abort opencode > > ``` > > same issue, looking forward the solution. ps. I'm an Intel MacBook Big Sur user, Neither the OpenCode Terminal nor OpenCode Desktop (Beta) is functioning properly. :( update here. After I updated MacOS to 12.7.4 (21H1123), Opencode works fine.
Author
Owner

@alexkkss commented on GitHub (Jan 26, 2026):

我也遇到了同样的问题,我不确定为什么会发生这种情况。我的 MacBook Pro 无法升级到新的系统版本。我认为这个问题很容易解决,因为 Bun 1.1.20 版本可以在 Big Sur 上运行,但 1.1.21 版本却不行。而且这个问题每隔几个版本就会出现一次。我认为这只是一个兼容性问题,可能是构建设置的问题。为什么解决起来这么困难呢? dyld 错误信息为:找不到符号:_ubrk_clone。 引用自:/Users/xxx/.bun/install/global/node_modules/opencode-darwin-x64/bin/opencode(该文件是为 Mac OS X 13.0 构建的)。 预期位于:/usr/lib/libicucore.A.dylib。

Upgrading from 12.2.1 to 12.7.6 resolved this issue

@alexkkss commented on GitHub (Jan 26, 2026): > 我也遇到了同样的问题,我不确定为什么会发生这种情况。我的 MacBook Pro 无法升级到新的系统版本。我认为这个问题很容易解决,因为 Bun 1.1.20 版本可以在 Big Sur 上运行,但 1.1.21 版本却不行。而且这个问题每隔几个版本就会出现一次。我认为这只是一个兼容性问题,可能是构建设置的问题。为什么解决起来这么困难呢? dyld 错误信息为:找不到符号:_ubrk_clone。 引用自:/Users/xxx/.bun/install/global/node_modules/opencode-darwin-x64/bin/opencode(该文件是为 Mac OS X 13.0 构建的)。 预期位于:/usr/lib/libicucore.A.dylib。 Upgrading from 12.2.1 to 12.7.6 resolved this issue
Author
Owner

@Zourunfa commented on GitHub (Jan 28, 2026):

Is there a way to do this without updating the system?

@Zourunfa commented on GitHub (Jan 28, 2026): Is there a way to do this without updating the system?
Author
Owner

@shd0812 commented on GitHub (Feb 3, 2026):

the same error

dyld[35216]: Symbol not found: _ubrk_clone
Referenced from: /Users/xxx/.nvm/versions/node/v20.20.0/lib/node_modules/opencode-ai/node_modules/opencode-darwin-x64/bin/opencode
Expected in: /usr/lib/libicucore.A.dylib

@shd0812 commented on GitHub (Feb 3, 2026): the same error dyld[35216]: Symbol not found: _ubrk_clone Referenced from: /Users/xxx/.nvm/versions/node/v20.20.0/lib/node_modules/opencode-ai/node_modules/opencode-darwin-x64/bin/opencode Expected in: /usr/lib/libicucore.A.dylib
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3790