guywaldman / magic-cli

Command line utility to make you a magician in the terminal
https://guywaldman.com/posts/introducing-magic-cli
MIT License
673 stars 17 forks source link

Error with libssl #18

Open thiswillbeyourgithub opened 1 month ago

thiswillbeyourgithub commented 1 month ago

Hi,

I just installed magic-cli 0.0.2 using the curl in zsh but I get this error as soon as I try to run the executable:

magic-cli: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Any recommendation?

nhasbun commented 1 month ago

Same here under Linux Mint 21.3 ~ Ubuntu 22.04

chaetognatha commented 1 month ago

I also have this issue on Ubuntu 22.04

Additionally I cloned the repo and built with cargo, which generates an error about ld

note: /usr/bin/ld: cannot find -lxcb: No such file or directory
          /usr/bin/ld: cannot find -lxcb-render: No such file or directory
          /usr/bin/ld: cannot find -lxcb-shape: No such file or directory
          /usr/bin/ld: cannot find -lxcb-xfixes: No such file or directory
          collect2: error: ld returned 1 exit status

dev branch builds fine if the following dependencies are added to environment: libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev

thiswillbeyourgithub commented 1 month ago

I also have this issue on Ubuntu 22.04

Additionally I cloned the repo and built with cargo, which generates an error about ld

note: /usr/bin/ld: cannot find -lxcb: No such file or directory
          /usr/bin/ld: cannot find -lxcb-render: No such file or directory
          /usr/bin/ld: cannot find -lxcb-shape: No such file or directory
          /usr/bin/ld: cannot find -lxcb-xfixes: No such file or directory
          collect2: error: ld returned 1 exit status

dev branch builds fine if the following dependencies are added to environment: libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev

Thank you, I was able to build the main branch thanks to you

guywaldman commented 1 month ago

Thanks folks. I install that dep in the CI as well. But I will reopen as I do want to avoid folks building from source if they can help it, perhaps bundling rustls with the app in case of an issue dynamically linking with openssl.