Skip to content

Build-time DLLs can be different than runtime DLL versions #60

@larskanis

Description

@larskanis

What problems are you experiencing?

As discovered in #53 , updates to DLLs, which are bundled with RI2 as builtin DLLs, are not available to the ruby process at runtime. The ruby builtin DLLs are always preferred over any other DLLs. It can therefore happen, that gems are linked against a newer version of the DLL than the one that is loaded at runtime.

Steps to reproduce

  • Install RubyInstaller-2.4.1-1-x64 (not the latest version)
  • Run ridk install 1 2 3
  • Run ridk exec pacman -S mingw-w64-x86_64-openssl
  • Run gem install openssl
  • Check runtime version: ruby -ropenssl -e 'puts OpenSSL::OPENSSL_LIBRARY_VERSION'
    => OpenSSL 1.0.2k 26 Jan 2017
  • Check build version: ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION'
    => OpenSSL 1.0.2l 25 May 2017

What's the output from ridk version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions