Git Product home page Git Product logo

Comments (10)

WillPresley avatar WillPresley commented on August 13, 2024 1

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.

from plz-cli.

thomastx05 avatar thomastx05 commented on August 13, 2024 1

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

from plz-cli.

m1guelpf avatar m1guelpf commented on August 13, 2024 1

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

from plz-cli.

scheMeZa avatar scheMeZa commented on August 13, 2024 1

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

from plz-cli.

maximofn avatar maximofn commented on August 13, 2024

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/[email protected]/.bin/plz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/[email protected]/.bin/plz)
/home/[email protected]/.bin/plz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/[email protected]/.bin/plz)
/home/[email protected]/.bin/plz: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/[email protected]/.bin/plz)
installed -

from plz-cli.

pegre94 avatar pegre94 commented on August 13, 2024

Same error on Ubuntu 20.04.

from plz-cli.

bjoern247 avatar bjoern247 commented on August 13, 2024

Same error here

from plz-cli.

scheMeZa avatar scheMeZa commented on August 13, 2024

We've got to do this for each release?

from plz-cli.

thomastx05 avatar thomastx05 commented on August 13, 2024

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.

from plz-cli.

CohleRustW avatar CohleRustW commented on August 13, 2024

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.

from plz-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.