Skip to content
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

Closed
jonhoo opened this issue Oct 26, 2018 · 4 comments
Closed

Does not build with openssl 1.1.1 #37

jonhoo opened this issue Oct 26, 2018 · 4 comments

Comments

@jonhoo
Copy link

jonhoo commented Oct 26, 2018

oauth-client currently depends on reqwest 0.8, which depends on hyper-tls 0.1, which again depends on native-tls 0.1, which pulls in openssl 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 of reqwest to 0.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 :'(

@kallisti5
Copy link

@gifnksm Any chance you can merge @jonhoo 's pull requests? This Crate seems abandoned.
@jonhoo any interest in forking :-)

@kallisti5
Copy link

PR #36 seems like a great one that adds futures and fixes this issue as well.

@mcarpenter
Copy link

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

@gifnksm
Copy link
Owner

gifnksm commented May 7, 2021

I'm sorry for begin late.
reqwest is upgraded to 0.10 via #39, so this issue should be fixed.

If you have any problem with oauth-client-rs v0.4.1, please reopen this issue or file a new issue.

@gifnksm gifnksm closed this as completed May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants