You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Doesn't run on Ubuntu 20.04? (Glibc Version Mismatch) #238
After installing and adding the Claude Code oauth.
bun i -g ........
opencode
/.cache/opencode/tui/tui-yarjvbbb.: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /.cache/opencode/tui/tui-yarjvbbb.)
/.cache/opencode/tui/tui-yarjvbbb.: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /.cache/opencode/tui/tui-yarjvbbb.)
I'm upgrading rn to 22 but I think this could be put somewhere if there's an error.
Yeah, the glibc requirement is definitely a current thing in at least OpenCode 1.1.31 and 1.1.32:
$ /usr/bin/OpenCode
/usr/bin/OpenCode: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by /usr/bin/OpenCode)
This is on a variant of Ubuntu 22.x.
The above is a bit of a problem as there doesn't seem to be an AppImage available for download these days either.
I'll try the musl version next just to see if that works, and if not then building from source might be the right approach for testing this software out. 😄
Thanks @pedropombeiro , hopefully I'll have time to try it out later on today. Priorities here tend to be shifted around quite dynamically and it's not my focus thing right now any more. 😉
Activity
[-]Doesn't run on Ubuntu 20.04?[/-][+]Doesn't run on Ubuntu 20.04? (Glibc Version Mismatch)[/+]Bewinxed commentedon Jun 22, 2025
Can confirm upgrading to Ubuntu 22 solved it (Though i half bricked my vps in the process but we ball 🏀)
uthmanmoh commentedon Jul 2, 2025
I'm having this same issue. Is there any workaround to this, like building from source or anything?
thdxr commentedon Jul 3, 2025
i dropped the glibc requirement in 0.1.179
ferrants commentedon Aug 6, 2025
Did the glibc requirement get added back recently? I get errors now when opencodev tries to run commands
fix: resolve issues anomalyco#240, anomalyco#238, and anomalyco#234 (…
justinclift-prvidr commentedon Jan 23, 2026
Yeah, the glibc requirement is definitely a current thing in at least OpenCode 1.1.31 and 1.1.32:
This is on a variant of Ubuntu 22.x.
The above is a bit of a problem as there doesn't seem to be an AppImage available for download these days either.
I'll try the musl version next just to see if that works, and if not then building from source might be the right approach for testing this software out. 😄
pedropombeiro commentedon Jan 24, 2026
I was able to build the required executable on the target system using the following Dockerfile (linux/amd64 target):
opencode-agent commentedon Jan 24, 2026
User pedropombeiro does not have write permissions
github run
pedropombeiro commentedon Jan 25, 2026
The build above can be installed using mise:
justinclift-prvidr commentedon Jan 27, 2026
@pedropombeiro Looking over that Dockerfile, that seems like a decent approach. Good stuff. 😄
pedropombeiro commentedon Jan 28, 2026
@justinclift-prvidr Thanks. By the way, I moved to another repo that is not a fork: https://github.com/pedropombeiro/opencode-legacy-glibc. This will allow scheduled builds to run, so we get the latest versions automatically.
justinclift-prvidr commentedon Jan 29, 2026
Thanks @pedropombeiro , hopefully I'll have time to try it out later on today. Priorities here tend to be shifted around quite dynamically and it's not my focus thing right now any more. 😉