Project

General

Profile

Actions

Bug #13080

closed

[mingw regression] broken openssl extension in 2.4.0p0

Added by jonforums (Jon Forums) almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.0p0 (2016-12-24 revision 57163) [i386-mingw32]
[ruby-core:78878]

Description

When building using slightly modified rubyinstaller build recipes and a msys2/mingw64-6.2.0 (32bit) toolchain, the build fails to create the openssl extension when using openssl 1.0.2j or 1.1.0c.

$ ruby --version
ruby 2.4.0p0 (2016-12-24 revision 57163) [i386-mingw32]
$ ruby -ropenssl -e "puts OpenSSL::OPENSSL_VERSION"
C:/Users/Jon/Documents/RubyDev/ri-git/sandbox/ruby21_mingw/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- openssl (LoadError)
        from C:/Users/Jon/Documents/RubyDev/ri-git/sandbox/ruby21_mingw/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'

Attached are the failing openssl mkmf.log and Makefile files from the 2.4.0p0 build.

I can provide good versions of the files from a 2.3.3p224 x32 build using openssl 1.0.2j if needed.


Files

bad_mkmf_2.4.log (21.9 KB) bad_mkmf_2.4.log jonforums (Jon Forums), 12/27/2016 07:46 PM
bad_Makefile_2.4 (6.22 KB) bad_Makefile_2.4 jonforums (Jon Forums), 12/27/2016 07:46 PM

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #9817: The extconf.rb for OpenSSL assumes MingWClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0