Skip to content

Unable to run gh because it cannot find glibc version #6459

@rohith-subramanyam

Description

@rohith-subramanyam

Describe the bug

On CentOS 7, with gh installed using brew. gh is unable to run because it cannot find the required glibc version.

gh --version
gh: /usr/lib64/libc.so.6: version `GLIBC_2.32' not found (required by gh)
gh: /usr/lib64/libc.so.6: version `GLIBC_2.34' not found (required by gh)

Steps to reproduce the behavior

  1. On CentOS 7
cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
  1. brew install gh
brew install gh
==> Downloading https://ghcr.io/v2/homebrew/core/gh/manifests/2.18.0
Already downloaded: /home/rohith.subramanyam/.cache/Homebrew/downloads/07f35c902ac425f8713551f712d4194816429ce06f47710dcf327fdfc31ad9a5--gh-2.18.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/gh/blobs/sha256:a93ee6ac267dd23b73c1accc308de1219c7968ee4c1ac5b33bc58dd9ac2992d9
Already downloaded: /home/rohith.subramanyam/.cache/Homebrew/downloads/1ea57cfd45a6f4af6eb0028b1fcc8ba745387f9ab77dd6c4e83b767d46fd0663--gh--2.18.0.x86_64_linux.bottle.tar.gz
==> Pouring gh--2.18.0.x86_64_linux.bottle.tar.gz
==> Caveats
zsh completions have been installed to:
  /home/linuxbrew/.linuxbrew/share/zsh/site-functions
==> Summary
🍺  /home/linuxbrew/.linuxbrew/Cellar/gh/2.18.0: 144 files, 36.9MB
==> Running `brew cleanup gh`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
  1. See error
gh --version
gh: /usr/lib64/libc.so.6: version `GLIBC_2.32' not found (required by gh)
gh: /usr/lib64/libc.so.6: version `GLIBC_2.34' not found (required by gh)

Expected vs actual behavior

gh to work when brew installed on CentOS 7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageneeds to be reviewed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions