-
Notifications
You must be signed in to change notification settings - Fork 23
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
Does not build with openssl 1.1.1 #37
Comments
PR #36 seems like a great one that adds futures and fixes this issue as well. |
Ubuntu 18 furnishes OpenSSL 1.1.1 so also runs afoul of this issue. Here is a workaround to compile against OpenSSL 1.0.2 until a new release is made: cd /tmp
wget https://www.openssl.org/source/openssl-1.0.2u.tar.gz
tar xf openssl-1.0.2u.tar.gz
cd openssl-1.0.2u
mkdir ~/openssl-1.0.2u
./Configure --prefix=~/openssl-1.0.2u linux-generic64
make -j8
make install
~/openssl-1.0.2u/bin/openssl version # check okay
cd ~/my-rust-project
export OPENSSL_INCLUDE_DIR=~/openssl-1.0.2u/include
export OPENSSL_LIB_DIR=~/openssl-1.0.2u/lib
cargo build
SSL_CERT_DIR=/etc/ssl/certs ./target/debug/my-rust-project # else will look in ~/openssl-1.0.2u/ssl/cert.pem
|
I'm sorry for begin late. If you have any problem with |
oauth-client
currently depends onreqwest 0.8
, which depends onhyper-tls 0.1
, which again depends onnative-tls 0.1
, which pulls inopenssl 0.9.24
, which doesn't build with the most recent version of openssl (sfackler/rust-openssl#994). There are a few open PRs (#34 and #35) that bump the version ofreqwest
to0.9
, which doesn't have this problem, so merging one of them might be the right way to move forward! Until then, we're sadly locked in a situation where the crate doesn't build :'(The text was updated successfully, but these errors were encountered: