-
-
Notifications
You must be signed in to change notification settings - Fork 760
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: failed to run custom build command for openssl v0.9.24
at ubuntu 20
#1436
Comments
That version of the openssl crate is over 3 years old, and doesn't support OpenSSL 1.1.1. |
@sfackler So which version can I install instead of OpenSSL 1.1.1? |
1.0.1, 1.0.2, or 1.1.0. However, you should probably instead update your Rust dependencies to pull in a more modern version of the openssl crate. |
unfortunately I am not directly use openssl crate instead I use creates which use openssl |
@sfackler I installed OpenSSL 1.0.1s 1 Mar 2016 note that this project compile without problems at windows 10 with OpenSSL 1.1.1i 8 Dec 2020 |
What is the exact way you tried to build with 1.0.1, and what is the exact error you got? |
I install openssl like this
and installed the downloaded file then I try to compile the project through cargo build and from clion IDE and I have the same error :
|
That contains the source code of OpenSSL. You need to compile it. |
I already compiled it and installed it finally finally copied the openssl excitable to /user/local/bin
|
Does /usr/include/openssl contain the headers for the OpenSSL you built? Copying it over your system-provided OpenSSL is a really bad idea BTW. |
I installed OpenSSL 1.0.1e 11 Feb 2013
and compiled but I have linker error at the end like that and out to me when using openssl-1.0.2o version
|
You are pointing to the headers in one place, and libraries in an entirely different place. Both of those should point to one specific and consistent installation. Also, I would not recommend using a release of OpenSSL from 8 years ago. |
@abdelmonem17 |
Hello everyone I made a project under windows OS and built it then try to build it under linux ubuntu but the build aborted and I have the following issue although I have openssl last version installed, can anyone help me to fix this?
The text was updated successfully, but these errors were encountered: