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

OpenSSL 1.1.0 support #29

Open
AlexanderPavlenko opened this issue Feb 20, 2018 · 6 comments
Open

OpenSSL 1.1.0 support #29

AlexanderPavlenko opened this issue Feb 20, 2018 · 6 comments

Comments

@AlexanderPavlenko
Copy link

/usr/local/bundle/gems/ffi-1.9.21/lib/ffi/library.rb:275:in `attach_function':
Function 'SSL_library_init' not found in [libssl.so] (FFI::NotFoundError)
  from /usr/local/bundle/gems/btcruby-1.7/lib/btcruby/openssl.rb:21:in `<module:OpenSSL>'

> openssl version
OpenSSL 1.1.0f  25 May 2017

Reproducible via ruby:2.5.0 Docker image.
Related: lian/bitcoin-ruby#205

@AlexanderPavlenko
Copy link
Author

Seems to be fixed by workaround:

ln -nfs /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2 /usr/lib/x86_64-linux-gnu/libssl.so

@xaviablaza
Copy link

For Arch:
sudo ln -nfs /usr/lib/libssl.so.1.0.0 /usr/lib/libssl.so

@mtomov
Copy link

mtomov commented Jul 4, 2018

Thanks @AlexanderPavlenko - really saved the day for CircleCi! Thanks!

@phuongnd08
Copy link

Wonder why libssl.so is suffixed with 1.0.2 while openssl version is 1.1.0?

@phuongnd08
Copy link

I see so openssl 1.1.0 come with both 1.1 and 1.0.2 shared object and btcruby only work with 1.0.2

@EugZol
Copy link

EugZol commented Dec 13, 2019

EugZol@9e3378a – try this one

Test suite is passing, but I've done no thorough testing beside that.

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

5 participants