Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linking to vendored OpenSSL on 64-bit systems #2452

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Conversation

mislav
Copy link
Member

@mislav mislav commented Oct 15, 2024

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 #2376

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.
@mislav mislav merged commit a230995 into master Oct 17, 2024
6 checks passed
@mislav mislav deleted the openssl-lib64 branch October 17, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant