-
-
Notifications
You must be signed in to change notification settings - Fork 750
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
OpenSSL library not found #855
Comments
What is inside of |
C:\OpenSSL-Win64\include\openssl - header files of c lang |
That message is only printed if OPENSSL_DIR isn't set - are you sure it's configured properly to be visible to Cargo and rustc? |
It went properly when run with higher permission. Thank you! |
If anyone is still running into this issue (like I was), I was able to resolve it just by updating/upgrading
|
https://docs.rs/openssl/0.10.16/openssl/ macOS Arch Linux Debian and Ubuntu Fedora |
@zodiake thanks :) |
Thanks.
this worked for me as well. |
@zodiake Thanks :) |
I can't seem to install libssl-dev - any ideas? Need to get 2906 kB of archives.
After this operation, 8010 kB of additional disk space will be used.
Err:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libssl1.1 amd64 1.1.1f-1ubuntu2.10
404 Not Found [IP: 91.189.91.38 80]
Err:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libssl-dev amd64 1.1.1f-1ubuntu2.10
404 Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.10_amd64.deb 404 Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2.10_amd64.deb 404 Not Found [IP: 91.189.91.38 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?``` |
It is really work, you can upgrade openssl can sovle problems. Why so many downs ? |
cause it it not work |
Thanks a lot @zodiake. Worked perfectly after executing the command specified |
Because that solution works only on very specific situations, and the vast majority of the people had a different issue. For that solution to work you should already have the required library installed, but installed so long ago that it became outdated and did not work. The majority of the people having this issue had a fresh OS install and the library was not installed, therefore, update and upgrade did not solve the problem. |
Thanks! |
This worked for OpenSUSE-Tumbleweed:
|
Thanks! |
Works for Windows 11, WSL2, Ubuntu 22.04 |
The environment:
The text was updated successfully, but these errors were encountered: