rust-openssl | OpenSSL bindings for Rust | SSH Utils library
kandi X-RAY | rust-openssl Summary
kandi X-RAY | rust-openssl Summary
OpenSSL bindings for Rust
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rust-openssl
rust-openssl Key Features
rust-openssl Examples and Code Snippets
Community Discussions
Trending Discussions on rust-openssl
QUESTION
So recently I have been compiling a rust project for ARM. It compiles perfectly for x86, but whenever I switch to an ARM target it can't find the Openssl installation, I have pkg-config installed and working so its not that error. Not sure how to set the OPENSSL_DIR variable successfully either or where to find the installation myself. The error is pasted fully below
...ANSWER
Answered 2021-Apr-11 at 22:23If you're compiling something with OpenSSL for armhf
, then you'll need to have the libssl-dev
package installed for that architecture. That will involve setting up dpkg for it via dpkg --add-architecture armhf
and then doing an apt-get update
and apt-get install libssl-dev:armhf
.
Note that it may not be possible to install multiple versions of libssl-dev
at once, and resolving the dependencies in a way that doesn't end up removing a lot of packages may be tricky. Debian-style multiarch is very capable, but it can be a bit fiddly at times.
You definitely should not vendor OpenSSL because it frequently comes out with security updates. Similarly, it is also a bad idea to statically link OpenSSL. If you do vendor or statically link it, unless you are extremely careful to keep it up to date, your code will contain security vulnerabilities.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rust-openssl
Rust is installed and managed by the rustup tool. Rust has a 6-week rapid release process and supports a great number of platforms, so there are many builds of Rust available at any time. Please refer rust-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page