/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found #3604

Closed
opened 2026-02-16 17:40:50 -05:00 by yindo · 3 comments
Owner

Originally created by @kuuy on GitHub (Dec 16, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Description

ubuntu 22.04 not support now

OpenCode version

v1.0.164

Steps to reproduce

  1. download v1.0.164 opencode-desktop-linux-amd64.deb
  2. sudo dpkg -i ~/Downloads/opencode-desktop-linux-amd64.deb
  3. sudo apt --fix-broken install
  4. sudo dpkg -i ~/Downloads/opencode-desktop-linux-amd64.deb
  5. start open-code desktop

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @kuuy on GitHub (Dec 16, 2025). Originally assigned to: @adamdotdevin on GitHub. ### Description ubuntu 22.04 not support now ### OpenCode version v1.0.164 ### Steps to reproduce 1. download v1.0.164 opencode-desktop-linux-amd64.deb 2. sudo dpkg -i ~/Downloads/opencode-desktop-linux-amd64.deb 3. sudo apt --fix-broken install 4. sudo dpkg -i ~/Downloads/opencode-desktop-linux-amd64.deb 5. start open-code desktop ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bugweb labels 2026-02-16 17:40:50 -05:00
yindo closed this issue 2026-02-16 17:40:50 -05:00
Author
Owner

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

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

  • #4908: GLIBC_2.18' not found (required by opencode) - Similar GLIBC version mismatch on older Linux systems
  • #3045: GLIBC_2.25 Required -> Need An Alternative - User facing GLIBC version requirement issues on older systems
  • #238: Doesn't run on Ubuntu 20.04? (Glibc Version Mismatch) - GLIBC compatibility issues on Ubuntu systems

All of these issues report the same root cause: OpenCode binaries are compiled against a newer GLIBC version than what's available on the user's system. Your issue on Ubuntu 22.04 appears to require GLIBC_2.39, while older system versions have lower GLIBC versions.

Feel free to ignore if your specific case differs, but these existing issues may contain solutions or workarounds.

@github-actions[bot] commented on GitHub (Dec 16, 2025): This issue might be a duplicate of existing issues. Please check: - #4908: GLIBC_2.18' not found (required by opencode) - Similar GLIBC version mismatch on older Linux systems - #3045: GLIBC_2.25 Required -> Need An Alternative - User facing GLIBC version requirement issues on older systems - #238: Doesn't run on Ubuntu 20.04? (Glibc Version Mismatch) - GLIBC compatibility issues on Ubuntu systems All of these issues report the same root cause: OpenCode binaries are compiled against a newer GLIBC version than what's available on the user's system. Your issue on Ubuntu 22.04 appears to require GLIBC_2.39, while older system versions have lower GLIBC versions. Feel free to ignore if your specific case differs, but these existing issues may contain solutions or workarounds.
Author
Owner

@astrolox commented on GitHub (Dec 17, 2025):

I wouldn't call this a duplicate.

The main opencode cli application works flawlessly on my system.

The new (tauri based) desktop application does not.

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"

$ /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)

$ file /usr/bin/OpenCode
/usr/bin/OpenCode: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=2c7bab629cfdfe088df520e02a1901c44e31aff2, not stripped

$ file /usr/bin/opencode-cli
/usr/bin/opencode-cli: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=47d27464364141a38f58141f3b36c3233098357f, not stripped

$ /usr/bin/opencode-cli web

                                   ▄     
  █▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
  █░░█ █░░█ █▀▀▀ █░░█ █░░░ █░░█ █░░█ █▀▀▀
  ▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀  ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀

  Web interface:      http://127.0.0.1:43625/
^C
@astrolox commented on GitHub (Dec 17, 2025): I wouldn't call this a duplicate. The main opencode cli application works flawlessly on my system. The new (tauri based) desktop application does not. ``` $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS" $ /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) $ file /usr/bin/OpenCode /usr/bin/OpenCode: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=2c7bab629cfdfe088df520e02a1901c44e31aff2, not stripped $ file /usr/bin/opencode-cli /usr/bin/opencode-cli: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=47d27464364141a38f58141f3b36c3233098357f, not stripped $ /usr/bin/opencode-cli web   ▄ █▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█ █░░█ █░░█ █▀▀▀ █░░█ █░░░ █░░█ █░░█ █▀▀▀ ▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ Web interface: http://127.0.0.1:43625/ ^C ```
Author
Owner

@pedropombeiro commented on GitHub (Jan 25, 2026):

For the time being, I'm using my fork where I'm building a compatible version with Docker: https://github.com/pedropombeiro/opencode.

Then I just installed it using mise:

mise install github:pedropombeiro/opencode@v1.1.35-legacy-glibc
@pedropombeiro commented on GitHub (Jan 25, 2026): For the time being, I'm using my fork where I'm building a compatible version with Docker: https://github.com/pedropombeiro/opencode. Then I just installed it using mise: ```shell mise install github:pedropombeiro/opencode@v1.1.35-legacy-glibc ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3604