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

Error with libssl #18

Open
thiswillbeyourgithub opened this issue Jul 18, 2024 · 4 comments
Open

Error with libssl #18

thiswillbeyourgithub opened this issue Jul 18, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@thiswillbeyourgithub
Copy link

thiswillbeyourgithub commented Jul 18, 2024

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?

@guywaldman guywaldman added the bug Something isn't working label Jul 18, 2024
@nhasbun
Copy link

nhasbun commented Jul 21, 2024

Same here under Linux Mint 21.3 ~ Ubuntu 22.04

@chaetognatha
Copy link

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
Copy link
Author

thiswillbeyourgithub commented Jul 22, 2024

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
Copy link
Owner

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.

@guywaldman guywaldman reopened this Jul 22, 2024
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