* [ruby-core:108482] [Ruby master Bug#18763] The configure option “--with-openssl-dir” has lower precedence than pkg-config
@ 2022-05-08 0:25 franklinyu (Franklin Yu)
2022-05-11 11:39 ` [ruby-core:108508] " Eregon (Benoit Daloze)
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: franklinyu (Franklin Yu) @ 2022-05-08 0:25 UTC (permalink / raw)
To: ruby-core
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:108508] [Ruby master Bug#18763] The configure option “--with-openssl-dir” has lower precedence than pkg-config
2022-05-08 0:25 [ruby-core:108482] [Ruby master Bug#18763] The configure option “--with-openssl-dir” has lower precedence than pkg-config franklinyu (Franklin Yu)
@ 2022-05-11 11:39 ` 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)
2 siblings, 0 replies; 4+ messages in thread
From: Eregon (Benoit Daloze) @ 2022-05-11 11:39 UTC (permalink / raw)
To: ruby-core
Issue #18763 has been updated by Eregon (Benoit Daloze).
This issue has more details: https://github.com/postmodern/ruby-install/issues/412
So CRuby picks a mix of of 1.1 headers and 3.0 lib, when given `--with-openssl-dir`.
That sounds like a clear bug.
Setting `PKG_CONFIG_PATH` helps but this is not intuitive, `--with-openssl-dir` should be enough on its own.
----------------------------------------
Bug #18763: The configure option “--with-openssl-dir” has lower precedence than pkg-config
https://bugs.ruby-lang.org/issues/18763#change-97552
* 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 (that it found via pkg-config). Is this expected? If so, how am I supposed to override the OpenSSL directory?
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:109852] [Ruby master Bug#18763] The configure option “--with-openssl-dir” has lower precedence than pkg-config
2022-05-08 0:25 [ruby-core:108482] [Ruby master Bug#18763] The configure option “--with-openssl-dir” has lower precedence than pkg-config franklinyu (Franklin Yu)
2022-05-11 11:39 ` [ruby-core:108508] " Eregon (Benoit Daloze)
@ 2022-09-08 18:29 ` Eregon (Benoit Daloze)
2022-09-11 6:58 ` [ruby-core:109884] " rhenium (Kazuki Yamaguchi)
2 siblings, 0 replies; 4+ messages in thread
From: Eregon (Benoit Daloze) @ 2022-09-08 18:29 UTC (permalink / raw)
To: ruby-core
Issue #18763 has been updated by Eregon (Benoit Daloze).
Assignee set to rhenium (Kazuki Yamaguchi)
@rhenium I think we can close this once #18999 is done, right?
----------------------------------------
Bug #18763: The configure option “--with-openssl-dir” has lower precedence than pkg-config
https://bugs.ruby-lang.org/issues/18763#change-99088
* Author: franklinyu (Franklin Yu)
* Status: Open
* Priority: Normal
* Assignee: rhenium (Kazuki Yamaguchi)
* 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 (that it found via pkg-config). Is this expected? If so, how am I supposed to override the OpenSSL directory?
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:109884] [Ruby master Bug#18763] The configure option “--with-openssl-dir” has lower precedence than pkg-config
2022-05-08 0:25 [ruby-core:108482] [Ruby master Bug#18763] The configure option “--with-openssl-dir” has lower precedence than pkg-config franklinyu (Franklin Yu)
2022-05-11 11:39 ` [ruby-core:108508] " Eregon (Benoit Daloze)
2022-09-08 18:29 ` [ruby-core:109852] " Eregon (Benoit Daloze)
@ 2022-09-11 6:58 ` rhenium (Kazuki Yamaguchi)
2 siblings, 0 replies; 4+ messages in thread
From: rhenium (Kazuki Yamaguchi) @ 2022-09-11 6:58 UTC (permalink / raw)
To: ruby-core
Issue #18763 has been updated by rhenium (Kazuki Yamaguchi).
Status changed from Open to Closed
Upstream issue for this bug: https://github.com/ruby/openssl/pull/486
Yes. This is resolved by openssl gem releases 2.1.4/2.2.2/3.0.1. Backporting is requested in #18999.
----------------------------------------
Bug #18763: The configure option “--with-openssl-dir” has lower precedence than pkg-config
https://bugs.ruby-lang.org/issues/18763#change-99125
* Author: franklinyu (Franklin Yu)
* Status: Closed
* Priority: Normal
* Assignee: rhenium (Kazuki Yamaguchi)
* 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 (that it found via pkg-config). Is this expected? If so, how am I supposed to override the OpenSSL directory?
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-09-11 6:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-08 0:25 [ruby-core:108482] [Ruby master Bug#18763] The configure option “--with-openssl-dir” has lower precedence than pkg-config franklinyu (Franklin Yu)
2022-05-11 11:39 ` [ruby-core:108508] " 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)
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).