ttr icon indicating copy to clipboard operation
ttr copied to clipboard

Brew install succeeds on WSL 2 but doesn't Run

Open amanhigh opened this issue 2 years ago • 2 comments

I am trying to install it on WSL2 using homebrew.

Installation went fine

The 4.0.10 changelog can be found at:
  https://github.com/Homebrew/brew/releases/tag/4.0.10
==> Tapping bazhenov/tap
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/bazhenov/homebrew-tap'...
remote: Enumerating objects: 45, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (11/11), done.
Unpacking objects: 100% (45/45), done.
remote: Total 45 (delta 7), reused 12 (delta 4), pack-reused 30
Tapped 4 formulae (58 files, 238.5KB).
==> Fetching dependencies for bazhenov/tap/ttr: [email protected]
==> Fetching [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/linux-headers/5.15/manifests/5.15.105
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/linux-headers/5.15/blobs/sha256:b55d0013da658baa0cf34c16a85dfde73adc2104e7ca429838039==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:b55d0013da658baa0cf34c16a85dfde73adc2104e7ca42983######################################################################## 100.0%
==> Fetching bazhenov/tap/ttr
==> Downloading https://github.com/bazhenov/ttr/releases/download/0.3.0/ttr-0.3.0-x86_64-unknown-linux-gnu.tar.gz
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/605000267/5087d99f-c890-495b-b62d-98######################################################################## 100.0%
==> Installing ttr from bazhenov/tap
==> Installing dependencies for bazhenov/tap/ttr: [email protected]
==> Installing bazhenov/tap/ttr dependency: [email protected]
==> Pouring [email protected]_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/[email protected]/5.15.105: 963 files, 5.7MB
==> Installing bazhenov/tap/ttr
🍺  /home/linuxbrew/.linuxbrew/Cellar/ttr/0.3.0: 4 files, 5.3MB, built in 14 seconds

However post installation Run Fails.

ttr
ttr: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by ttr)
ttr: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ttr)

My OS Details on WSL are as follows

uname -a Linux ------ 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

amanhigh avatar Mar 31 '23 15:03 amanhigh

I'm sorry for the late reply. Which distro inside WSL you are using? ttr should work without problem on ubuntu 20.04 and later.

bazhenov avatar Apr 11 '23 08:04 bazhenov

@bazhenov Thanks for Acknowledgement. I am getting error in Ubuntu 20 only. As given above i have shared Uname output as well as error.

Also attaching my wsl command output below.

PS C:\WINDOWS\system32> wsl --list -v
  NAME      STATE           VERSION
* Ubuntu    Running         2

Choco Package Version for WSL

PS C:\WINDOWS\system32> choco search wsl -lo
Chocolatey v1.3.1
chocolatey 1.3.1
wsl2 2.0.0.20210721
2 packages installed.
PS C:\WINDOWS\system32>

Let me know if this helps or if i can try something else.

amanhigh avatar Apr 11 '23 14:04 amanhigh