[Bug 229119] lang/ruby25: OpenSSL broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 18 18:00:12 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229119

            Bug ID: 229119
           Summary: lang/ruby25: OpenSSL broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ruby at FreeBSD.org
          Reporter: ncrogers at gmail.com
          Assignee: ruby at FreeBSD.org
             Flags: maintainer-feedback?(ruby at FreeBSD.org)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ruby mailing list