Skip to content

v1.14.49 introduced a hard dependency on GLIBC_2.29+ #27419

Closed
anomalyco/opentui
#1074

Description

@kevinchappell

Description

Upgrading from v1.14.48 to v1.14.49 cause TUI unable to start.

Workaround

downgrade to v1.14.48

opencode upgrade v1.14.48 --method curl

Plugins

none

OpenCode version

v1.14.49

Steps to reproduce

  1. Upgrade to v1.14.49
  2. opencode

Screenshot and/or share link

$ opencode --print-logs
INFO  2026-05-14T01:25:55 +192ms service=default version=1.14.49 args=["--print-logs"] process_role=main run_id=bb2503e6-f742-4f31-ae95-24399fcb9f10 opencode
ERROR 2026-05-14T01:25:56 +214ms service=default e=Failed to initialize OpenTUI render library: Failed to open library "/home/user/.tmp/.fbff6fbdefbf7f55-00000001.so": /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /home/user/.tmp/.fbff6fbdefbf7f55-00000001.so) rejection
ERROR 2026-05-14T01:25:56 +0ms service=default error=Failed to initialize OpenTUI render library: Failed to open library "/home/user/.tmp/.fbff6fbdefbf7f55-00000001.so": /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /home/user/.tmp/.fbff6fbdefbf7f55-00000001.so) process error

Operating System

AlmaLinux 8.10 (RHEL 8 compatible)

$ cat /etc/os-release
NAME="AlmaLinux"
VERSION="8.10 (Cerulean Leopard)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="AlmaLinux 8.10 (Cerulean Leopard)"

$ ldd --version
ldd (GNU libc) 2.28

Terminal

wezterm

Activity

  1. github-actions commented on May 14, 2026

    @github-actions
    Contributor

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

    If your issue is specifically about the new GLIBC_2.29 requirement introduced in v1.14.49 via the OpenTUI render library (as opposed to the general glibc baseline), it may be a new/distinct regression worth keeping open.

  2. SuperStrain commented on May 14, 2026

    @SuperStrain

    I’m also experiencing this issue.

    yangy@jovision:~$ opencode --print-logs
    INFO 2026-05-14T02:32:17 +197ms service=default version=1.14.49 args=["--print-logs"] process_role=main run_id=6d11577b-3fa0-444d-b418-ae59bc0821ac opencode
    INFO 2026-05-14T02:32:17 +85ms service=tui.config path=/home/yangy/.config/opencode/tui.json loading tui config
    INFO 2026-05-14T02:32:17 +3ms service=tui.config path=/home/yangy/.config/opencode/tui.json order=1 applying tui config
    ERROR 2026-05-14T02:32:17 +176ms service=default e=Failed to initialize OpenTUI render library: Failed to open library "/tmp/.fbff6ffcfb4fffd5-00000001.so": /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29' not found (required by /tmp/.fbff6ffcfb4fffd5-00000001.so) rejection ERROR 2026-05-14T02:32:17 +0ms service=default error=Failed to initialize OpenTUI render library: Failed to open library "/tmp/.fbff6ffcfb4fffd5-00000001.so": /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29' not found (required by /tmp/.fbff6ffcfb4fffd5-00000001.so) process error

  3. SuperStrain commented on May 14, 2026

    @SuperStrain

    yangy@jovision:~$ cat /etc/os-release
    NAME="Ubuntu"
    VERSION="18.04.6 LTS (Bionic Beaver)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 18.04.6 LTS"
    VERSION_ID="18.04"
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    VERSION_CODENAME=bionic
    UBUNTU_CODENAME=bionic

  4. simonklee commented on May 14, 2026

    @simonklee
    Member

    @kevinchappell looking more at these reports, lots of people are on ubuntu 18 and i think that is on an even older version of glibc

  5. kevinchappell commented on May 14, 2026

    @kevinchappell
    Author

    @simonklee I replied to the comment there with what I'm using to test other systems. Ubuntu 18.04 will resolve glib 2.27 so my PR description is somewhat misleading, will update.

  6. simonklee commented on May 14, 2026

    @simonklee
    Member

    @simonklee I replied to the comment there with what I'm using to test other systems. Ubuntu 18.04 will resolve glib 2.27 so my PR description is somewhat misleading, will update.

    Thanks, i'll merge this if tests pass #27491 so issues should be fixed in next release.

  7. self-assigned this
    on May 14, 2026
  8. sohamxda7 commented on May 14, 2026

    @sohamxda7

    I thought my system had issue or something, I am on rhel8 facing same issue

  9. RockPete commented on May 15, 2026

    @RockPete

    I'm facing the same problem.

    version

    • ✔1.14.47/1.14.48
    • ❌1.14.49
    • ❌1.14.50, has the promble too.
    • ❌1.14.50

    How I install

    download opencode-linux-x64-baseline.tar.gz from release and tar -xzf

    sysmte info

    cat /etc/os-release
    NAME="CentOS Linux"
    VERSION="7 (Core)"
    ID="centos"
    ID_LIKE="rhel fedora"
    VERSION_ID="7"
    PRETTY_NAME="CentOS Linux 7 (Core)"

    error-log

    ./opencode --print-logs
    INFO  2026-05-15T14:40:07 +306ms service=default version=1.15.0 args=["--print-logs"] process_role=main run_id=02f90858-a74d-4e3e-a261-cdaaeb27dc51 opencode
    ERROR 2026-05-15T14:40:07 +363ms service=default e=Failed to initialize OpenTUI render library: Failed to open library "/tmp/.d8bfce5df7febdec-00000001.so": /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /tmp/.d8bfce5df7febdec-00000001.so) rejection
    ERROR 2026-05-15T14:40:07 +0ms service=default error=Failed to initialize OpenTUI render library: Failed to open library "/tmp/.d8bfce5df7febdec-00000001.so": /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /tmp/.d8bfce5df7febdec-00000001.so) process error

    glibc info

    rpm -q glibc
    glibc-2.17-317.el7.x86_64

    and how to get it

    # Debian/Ubuntu
    dpkg -l | grep libc6
    
    # RHEL/CentOS/Fedora
    rpm -q glibc
    
    # Arch
    pacman -Q glibc
  10. simonklee commented on May 16, 2026

    @simonklee
    Member

    glibc info

    rpm -q glibc
    glibc-2.17-317.el7.x86_64
    and how to get it

    We pinned glibc 2.27, but we'll try to lower it to 2.17.

  11. kevinchappell commented on May 16, 2026

    @kevinchappell
    Author

    @simonklee switching back to musl is another option but 2.17 should work on every distro after 2014.

  12. kevinchappell commented on May 16, 2026

    @kevinchappell
    Author

    @simonklee opened another small PR. I was more thorough this round with full end-to-end test using bun link opentui build for opencode and tested back to centos 7. I added a simple glibc floor test as a separate commit which may be overkill, let me know if i should drop it.

  13. added a commit that references this issue on May 16, 2026
  14. RockPete commented on May 18, 2026

    @RockPete

    @simonklee @kevinchappell

    Thanks for your hard work.

    Today, I test the newest version, aka (version=1.15.4)

    It still not works.

    How can I make it work? should I re-install or anything else, I would like to try .

    Image

    OS-system

    # red hat 7.8
    rpm -q glibc
    glibc-2.17-317.el7.x86_64
    
    # centos 7
    rpm -q glibc
    glibc-2.17-326.el7_9.3_x86_64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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