Bugzilla Automation <bugzi...@freebsd.org> has asked freebsd-ruby mailing list
<r...@freebsd.org> for maintainer-feedback:
Bug 229119: lang/ruby25: OpenSSL broken
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229119



--- Description ---
I experience "Undefined symbol "EVP_PKEY_get0_RSA" errors with this port
because of the patch that was committed in r465590. Removing
files/patch-ext_openssl_openssl__missing.h from the port fixes the problem for
me. I am compiling against OpenSSL in base.

OpenSSL 1.0.2k-freebsd  26 Jan 2017
# ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [amd64-freebsd11]
# irb
irb(main):001:0> require 'openssl'; OpenSSL::PKey::RSA.new(`openssl
genrsa`).private_encrypt('foo')
Generating RSA private key, 2048 bit long modulus
.....+++
...............................................................+++
e is 65537 (0x10001)
/usr/local/lib/ruby/2.5/amd64-freebsd11/openssl.so: Undefined symbol
"EVP_PKEY_get0_RSA"

This is related to bug 226852
(https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226852) - the fix for it was
committed upstream and now causes this bug.
_______________________________________________
freebsd-ruby@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "freebsd-ruby-unsubscr...@freebsd.org"

Reply via email to