Skip to content

GLIBC_2.25 Required -> Need An Alternative #3045

Closed

Description

@james-gour

I am facing:
opencode/bin/opencode: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by opencode/bin/opencode)

Does OpenCode offer a binary compiled from older GLIBC versions like Neovim does? Or perhaps an appimage might work in this case?

I'm on an older machine for work, with no opportunity to upgrade GLIBC :(

Activity

  1. arsham commented on Oct 8, 2025

    @arsham
  2. james-gour commented on Oct 10, 2025

    @james-gour
    Author

    Would https://distrobox.it/ help?

    This may just work @arsham -> thanks for the reply!! :)

  3. moritzschaefer commented on Nov 8, 2025

    @moritzschaefer

    Same issue here on a compute cluster.

  4. yurenchen000 commented on Dec 9, 2025

    @yurenchen000

    the release pre-build binary was built on new version os.
    event the *-musl version depends on glibc :

    Failed to load lib 71 | Set BUN_PTY_LIB or ensure one of these paths contains the file.`);
    72 | }
    73 | var libPath = resolveLibPath();
    74 | var lib;
    75 | try {
    76 |   lib = dlopen(libPath, {
                 ^
    error: Failed to open library "/tmp/.1e7fff7e34beff7e-00000001.so": Error relocating /tmp/.1e7fff7e34beff7e-00000001.so: gnu_get_libc_version: symbol not found
     syscall: "dlopen",
       errno: 0,
        code: "ERR_DLOPEN_FAILED"
    
          at dlopen (bun:ffi:345:28)
          at <anonymous> (../../node_modules/.bun/bun-pty@0.4.2/node_modules/bun-pty/dist/index.js:76:9)
          at <anonymous> (/$bunfs/root/src/index.js:28:48)
          at <anonymous> (src/pty/index.ts:35:23)

    my temp workaround is run in docker with ubuntu 24.04
    (for opencode v1.0.134 @202512)

  5. Samueru-sama commented on Dec 30, 2025

    @Samueru-sama

    I'm making appimage releases that work even in ubuntu 14.04:

    https://github.com/pkgforge-dev/opencode-AppImage-Enhanced

    Image
  6. pedropombeiro commented on Jan 25, 2026

    @pedropombeiro

    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
  7. github-actions commented on Mar 27, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions