ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: "franklinyu (Franklin Yu)" <noreply@ruby-lang.org>
To: ruby-core@ruby-lang.org
Subject: [ruby-core:108482] [Ruby master Bug#18763] The configure option “--with-openssl-dir” has lower precedence than pkg-config
Date: Sun, 08 May 2022 00:25:06 +0000 (UTC)	[thread overview]
Message-ID: <redmine.issue-18763.20220508002505.11150@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-18763.20220508002505.11150@ruby-lang.org

Issue #18763 has been reported by franklinyu (Franklin Yu).

----------------------------------------
Bug #18763: The configure option “--with-openssl-dir” has lower precedence than pkg-config
https://bugs.ruby-lang.org/issues/18763

* Author: franklinyu (Franklin Yu)
* Status: Open
* Priority: Normal
* ruby -v: 2.7.6
* Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN
----------------------------------------
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. Is this expected? If so, how am I supposed to override the OpenSSL directory?



-- 
https://bugs.ruby-lang.org/

       reply	other threads:[~2022-05-08  0:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-08  0:25 franklinyu (Franklin Yu) [this message]
2022-05-11 11:39 ` [ruby-core:108508] [Ruby master Bug#18763] The configure option “--with-openssl-dir” has lower precedence than pkg-config Eregon (Benoit Daloze)
2022-09-08 18:29 ` [ruby-core:109852] " Eregon (Benoit Daloze)
2022-09-11  6:58 ` [ruby-core:109884] " rhenium (Kazuki Yamaguchi)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.issue-18763.20220508002505.11150@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).