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

WSL2 Install error version GLIBC_2.33' not found` #16

Closed
scheMeZa opened this issue Dec 20, 2022 · 10 comments
Closed

WSL2 Install error version GLIBC_2.33' not found` #16

scheMeZa opened this issue Dec 20, 2022 · 10 comments
Labels
help wanted Extra attention is needed

Comments

@scheMeZa
Copy link

image

@maximofn
Copy link

I have the same error

$ curl -fsSL https://raw.githubusercontent.com/m1guelpf/plz-cli/main/install.sh | sh -
sh: 26: [[: not found
https://github.com/m1guelpf/plz-cli/releases/latest/download/plz-linux-x86_64
downloading latest binary
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 13.1M  100 13.1M    0     0   651k      0  0:00:20  0:00:20 --:--:--  917k
/home/maximo.fernandez@AEROESPACIAL.SENER/.bin/plz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/maximo.fernandez@AEROESPACIAL.SENER/.bin/plz)
/home/maximo.fernandez@AEROESPACIAL.SENER/.bin/plz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/maximo.fernandez@AEROESPACIAL.SENER/.bin/plz)
/home/maximo.fernandez@AEROESPACIAL.SENER/.bin/plz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/maximo.fernandez@AEROESPACIAL.SENER/.bin/plz)
installed -

@pegre94
Copy link

pegre94 commented Dec 20, 2022

Same error on Ubuntu 20.04.

@bjoern247
Copy link

Same error here

@WillPresley
Copy link

I was having this issue as well on WSL2/Ubuntu 20 LTS. Upgrading to 22 LTS took care of the issue, as it was ultimately about the wrong C libraries. I think this could be solved during compilation, but not sure how.

@m1guelpf m1guelpf added the help wanted Extra attention is needed label Dec 21, 2022
@thomastx05
Copy link

So the install is trying to use a version higher than what you all have... had the same issue. If you download and install rust and then cargo build on your system it should work.

so

  1. Install rust
  2. clone repository
  3. cargo build
  4. cargo run

@scheMeZa
Copy link
Author

We've got to do this for each release?

@thomastx05
Copy link

We've got to do this for each release?

I am not too familiar with rust, but the best I can tell is that the file is compiled using a certain version of libc6. If your system is not using the same version then you need to do this. Once it is built you can just put the compiled binary in your PATH (this is most of what the first part of the install script is doing anyway) and it will work like normal from then on as far as I can tell. That worked for me.

@CohleRustW
Copy link

So the install is trying to use a version higher than what you all have... had the same issue. If you download and install rust and then cargo build on your system it should work.

so

  1. Install rust
  2. clone repository
  3. cargo build
  4. cargo run

you can use cargo build --release command to build plz binary.

@m1guelpf
Copy link
Owner

This should have been fixed by #19 and the new tagged release, could someone download the musl binary and confirm?

@scheMeZa
Copy link
Author

Can confirm, running the curl command now installs plz 🙂 I can now provide a OpenAI key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

8 participants