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
- On CentOS 7
cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
- 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`).
- 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
Describe the bug
On CentOS 7, with gh installed using brew. gh is unable to run because it cannot find the required glibc version.
Steps to reproduce the behavior
Expected vs actual behavior
gh to work when brew installed on CentOS 7