Failed to run custom build command for `openssl-sys v0.9.51`

The compilation got stopped due to "failed to run custom build command for openssl-sys v0.9.51".

could someone help?

Not enough context here. Can you add some notes about what you are trying to do along with some sample code which can reproduce this error?

ok

...

1 Like

You should have some more info after that line which explains what exactly went wrong.

In 90% of cases it means you need to install pkg-config and then openssl-devel, libssl-dev, or similar packages on your system. If you have them installed, they may be too old. See:

https://docs.rs/crate/openssl/0.9.24

If you can't install a system-wide openssl, then set the vendored feature of openssl-sys.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.