On 64-bit systems, the build system for OpenSSL tends to produce a "lib64" directory instead of a "lib" directory due to its "multilib" feature being enabled by default. However, the Ruby "openssl" extension assumes that the directory is always named "lib", or explicitly passed via --with-openssl-lib.
This disables multilib support in OpenSSL by passing --libdir=lib to OpenSSL configure step.
On 64-bit systems, the build system for OpenSSL tends to produce a "lib64" directory instead of a "lib" directory due to its "multilib" feature being enabled by default. However, the Ruby "openssl" extension assumes that the directory is always named "lib", or explicitly passed via
--with-openssl-lib
.This disables multilib support in OpenSSL by passing
--libdir=lib
to OpenSSL configure step.Reported in https://github.com/rbenv/ruby-build/discussions/2376