Project

General

Profile

Actions

Bug #18763

closed

The configure option “--with-openssl-dir” has lower precedence than pkg-config

Added by franklinyu (Franklin Yu) over 2 years ago. Updated about 2 years ago.

Status:
Closed
Target version:
-
[ruby-core:108482]

Description

I’m trying to compile Ruby 2.7.6 (latest stable release in 2.7 branch). In my environment, there are two OpenSSL installed, v1.1 and v3. The system pkg-config will find OpenSSL v3, but it isn’t compatible with Ruby 2.7, so I’d like to configure Ruby to link to OpenSSL v1.1 with --with-openssl-dir, but ./configure still uses OpenSSL 3 (that it found via pkg-config). Is this expected? If so, how am I supposed to override the OpenSSL directory?


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #18999: Backport openssl 2.1.4/2.2.2/3.0.1ClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0