sfackler / rust-openssl Public
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
Ubuntu 18: failed to run custom build command for openssl-sys v0.9.39
#1021
Comments
might be same as #994 but too many comments there, can't find what will actually work 1.1.0g-2ubuntu4.1 |
What does the rest of the error message say? In particular, you need pkg-config installed. |
elease --- stderr Could not find directory of OpenSSL installation, and this Make sure you also have the development packages of openssl installed. If you're in a situation where you think the directory should be found
It looks like you're compiling on Linux and also targeting Linux. Currently this ', /home/forecast/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.39/build/main.rs:269:9 |
so how do I configure pkg-config |
Works now, ran |
Didn't help in my case. What helped was to get that openssl library sources and build it ourselves See the full list of commands here |
Thank you very much. from Korea. |
I'm using Ubuntu and the error message says:
So I installed it:
And it is working now. |
I fix this problem to add. Cargo.toml
|
That's what helped me (on several ubuntu systems) sudo apt install openssl1.0 libssl1.0.0 libssl1.0-dev
cargo clean
OPENSSL_LIB_DIR="/usr/lib/x86_64-linux-gnu"
OPENSSL_INCLUDE_DIR="/usr/include/openssl"
cargo build |
works for me, thanks |
Works for me, thanks |
thanks, |
For Googlers: On OpenSUSE (e.g. Tumbleweed) run |
Thank you so much!!! After literal hours of struggling, with no prior solution helping me (building a rust project within amazon linux) yours did the trick! |
encountering the same issue.. Does anyone know how to fix the same issue for the "windows " OS ? even if it is some development file then what is command for that please? |
HELP PS C:\Users\alan1\dougs-bin-example> cargo install cyberdrop-dl Caused by: Caused by: |
Im on windows btw );;; |
I recognized that operating on pure Windows wasn't very effective. I
leveraged Window's WSL (Window's Subsystem Linux). I downloaded everything
to the WSL Ubuntu environment and compiled it there. I still had VSCode.
There's a plugin called something like Remote Server which allows you to
access the directories and files in your WSL from your host WIndows
environment.
Try downloading and running the code in the Ubuntu WSL on Windows. I ran
into way less issues. You'll also have to run the linux/ubuntu equivalent
of the commands in there as well. But there's documentation for that.
Cordell
…On Fri, Dec 17, 2021 at 6:59 AM Borregopornz ***@***.***> wrote:
Im on windows btw );;;
—
Reply to this email directly, view it on GitHub
<#1021 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFAC7UVNFJTR4VP5E2PFE4LURMQ3FANCNFSM4GGFMJCQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
It's working |
Correct, that's the same thing I had to do. Well done!
…On Fri, Dec 17, 2021 at 2:13 PM Quill Chain ***@***.***> wrote:
I'm using Ubuntu and the error message says:
Make sure you also have the development packages of openssl installed.
For example, libssl-dev on Ubuntu or openssl-devel on Fedora.
So I installed it:
sudo apt install libssl-dev
And it is working now.
It's working
—
Reply to this email directly, view it on GitHub
<#1021 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFAC7UXIM3COBT7EP3FANDLURODWFANCNFSM4GGFMJCQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
install Perl first. |
For windows users :) choco install openssl (2). then set its path to the variable: set OPENSSL_DIR="C:\Program Files\OpenSSL-Win64" hope that works for you too ... |
It won't install on Ubuntu 20.04. It shows error that couldn't find them. |
it has worked for me as well on Linux mint... Thank you! |
I was missing Make. I installed it on Ubuntu using |
This worked for me on Debian 11... thanks! |
I had to install
|
Nice it's work on ubuntu 20.04 WSL |
installed libssl-dev on ubuntu 18 and still get this error:
error: failed to run custom build command for
openssl-sys v0.9.39
process didn't exit successfully:
/home/forecast/cs453_finalproj_backend/target/release/build/openssl-sys-864259d0b1f702fc/build-script-main
(exit code: 101)The text was updated successfully, but these errors were encountered: