Puma_http11.so: undefined character: SSL_library_init

I am using Kali GNU / Linux Rolling 64-bit, rails version 5.0.1 and ruby ​​version 2.4.0. When I use bundle install , getting an open ssl error when installing gem puma, I fixed it by downloading openssl and using bundle config build.puma --with-opt-dir = / home / anti / work / myssl . Now when I use rake db: migrate get error

rake db:migrate

/home/anti/.rvm/gems/ruby-2.4.0-rc1/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:51: warning: constant :: Fixnum is deprecated

/home/anti/.rvm/gems/ruby-2.4.0-rc1/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:52: warning: constant :: Bignum is deprecated

ruby /home/anti/.rvm/gems/ruby-2.4.0-rc1/bin/rake db: migrate: symbol search error: /home/anti/.rvm/gems/ruby-2.4.0-rc1/ gems / puma-3.6.2 / lib / puma / puma_http11.so: undefined symbol: SSL_library_init

Please help with the solution.

+4
source share

Source: https://habr.com/ru/post/1664935/


All Articles