Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Fails to launch on Debian 11.6 and Ubuntu 20.04 #222

Open
eliminmax opened this issue Jan 16, 2023 · 3 comments
Open

[BUG] Fails to launch on Debian 11.6 and Ubuntu 20.04 #222

eliminmax opened this issue Jan 16, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@eliminmax
Copy link

eliminmax commented Jan 16, 2023

Describe the bug

When running the latest version in Debian 11.6, I get the following error:

/home/eliminmax/.local/share/gh/extensions/gh-dash/gh-dash: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/eliminmax/.local/share/gh/extensions/gh-dash/gh-dash)
/home/eliminmax/.local/share/gh/extensions/gh-dash/gh-dash: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/eliminmax/.local/share/gh/extensions/gh-dash/gh-dash)

The reason is that the compiled binary depends of functionality added in newer versions of glibc - specifically versions 2.32 and 2.34.

As a quick aside: Building from source does not work on my system, with the following error:

../../.go/pkg/mod/github.com/mattn/[email protected]/runewidth.go:7:2: found packages uniseg (doc.go) and main (gen_breaktest.go) in /home/eliminmax/.go/pkg/mod/github.com/rivo/[email protected]
make: *** [Makefile:4: build] Error 1

That seems to be an issue with a dependency and/or my go setup, not this repo, but because of it, I can't determine whether or not it works if built from source. As an extra note about this, I have the golang-1.19 backport package installed, and added /usr/lib/go-1.19/bin to the beginning of my PATH.

Edit: Using /usr/lib/golang-1.18/bin/go from the golang-1.18 backport package works fine.

Steps to reproduce

  1. Install in Debian Bullseye 11.6 with gh extension install dlvhdr/gh-dash, and run gh dash

Expected behavior
It launches properly

Desktop:

  • OS: Debian GNU/Linux 11 (bullseye)
@eliminmax eliminmax added the bug Something isn't working label Jan 16, 2023
@bduffany
Copy link

bduffany commented Jan 28, 2023

The same issue happens in Ubuntu 20.04.5 (it happens both on my machine as well as a clean docker image via docker run --rm -it ubuntu:20.04)

I would love to use this dashboard but don't plan on upgrading my Ubuntu install at least for another year or two :P

@eliminmax eliminmax changed the title [BUG] Fails to launch on Debian 11.6 [BUG] Fails to launch on Debian 11.6 and Ubuntu 20.04 Jan 28, 2023
@rambhosale
Copy link

@eliminmax @bduffany till the issue is fixed you can compile the app on your local machine and move it to the extensions folder to make it work

an example of doing that if you are confused on how to do that
(go should be installed) clone the repo to local machine and run
go build && mv gh-dash ~/.local/share/gh/extensions/gh-dash/

@hulk510
Copy link

hulk510 commented Mar 11, 2023

My WSL was also suffering from this problem
OS version is Ubuntu 20.04.5 with WSL

I have not tried source compile, but I can confirm that updating to Ubuntu 22.04.2 LTS solved this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants