* [ruby-core:95173] [Ruby master Bug#16194] Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description)
[not found] <redmine.issue-16194.20191001145751@ruby-lang.org>
@ 2019-10-01 14:57 ` shevegen
2019-10-01 16:33 ` [ruby-core:95175] " nobu
2019-10-02 1:28 ` [ruby-core:95178] " mame
2 siblings, 0 replies; 3+ messages in thread
From: shevegen @ 2019-10-01 14:57 UTC (permalink / raw)
To: ruby-core
Issue #16194 has been reported by shevegen (Robert A. Heiler).
----------------------------------------
Bug #16194: Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description)
https://bugs.ruby-lang.org/issues/16194
* Author: shevegen (Robert A. Heiler)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: new ruby 2.6.5 release published today (1st october 2019)
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
I am trying to compile the latest 2.6.5 release, just released recently:
https://ftp.ruby-lang.org/pub/ruby/2.6/ruby-2.6.5.tar.xz
I had a problem, which will be mentioned soon; but I first made sure that I do not
have this problem with ruby-2.6.4, so I believe something must have changed in
behaviour.
Here is the configure line I was using for 2.6.4:
./configure --prefix=/opt/ruby --enable-debug-env --enable-load-relative --enable-frozen-string-literal-debug --enable-pthread --enable-shared --with-ext=readline,openssl,+ --disable-install-capi --disable-install-doc --disable-install-rdoc
This was just a test-configure; both "make" and "make install" finished without an error though.
I then tried with 2.6.5 with exactly the same configure option as above, and this error appeared
during **make install**:
x86_64-linux/openssl.so: undefined symbol: EC_GROUP_new_curve_GF2m - /Depot/jjjj/ruby-2.6.5/.ext/x86_64-linux/openssl.so (LoadError)
make: *** [uncommon.mk:371: do-install-nodoc] Error 1
My local openssl is 1.1.1c by the way (also self-compiled; I compile everything from source,
typically via help from ruby. I could try ftp://ftp.openssl.org/source/openssl-1.1.1d.tar.gz
perhaps but I have had some difficulties with openssl in the past, so I'd rather try more stable
releases of openssl than unstable ones).
Anyway, I am just reporting this here so that the ruby core team is aware of the problem. No
idea what EC_GROUP_new_curve_GF2m is, but it does not appear to occur on ruby-2.6.4.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:95175] [Ruby master Bug#16194] Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description)
[not found] <redmine.issue-16194.20191001145751@ruby-lang.org>
2019-10-01 14:57 ` [ruby-core:95173] [Ruby master Bug#16194] Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description) shevegen
@ 2019-10-01 16:33 ` nobu
2019-10-02 1:28 ` [ruby-core:95178] " mame
2 siblings, 0 replies; 3+ messages in thread
From: nobu @ 2019-10-01 16:33 UTC (permalink / raw)
To: ruby-core
Issue #16194 has been updated by nobu (Nobuyoshi Nakada).
Status changed from Open to Feedback
Could you check the followings?
openssl.so refers `EC_GROUP_new_curve_GF2m` defined in libcrypto.so.
```
$ ldd .ext/x86_64-linux/openssl.so
linux-vdso.so.1 (0x00007ffc594d3000)
libruby.so.2.7 => not found
libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f1809110000)
libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f1808e42000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1808c57000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1808c36000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1808c30000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1809221000)
$ nm -D /usr/lib/x86_64-linux-gnu/libcrypto.so | grep EC_GROUP_new_curve_GF2m
0000000000109e40 T EC_GROUP_new_curve_GF2m
```
And ext/openssl/Makefile should have the line:
```
LIBS = $(LIBRUBYARG_SHARED) -lssl -lcrypto -lm -lc
```
----------------------------------------
Bug #16194: Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description)
https://bugs.ruby-lang.org/issues/16194#change-81810
* Author: shevegen (Robert A. Heiler)
* Status: Feedback
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: new ruby 2.6.5 release published today (1st october 2019)
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
I am trying to compile the latest 2.6.5 release, just released recently:
https://ftp.ruby-lang.org/pub/ruby/2.6/ruby-2.6.5.tar.xz
I had a problem, which will be mentioned soon; but I first made sure that I do not
have this problem with ruby-2.6.4, so I believe something must have changed in
behaviour.
Here is the configure line I was using for 2.6.4:
./configure --prefix=/opt/ruby --enable-debug-env --enable-load-relative --enable-frozen-string-literal-debug --enable-pthread --enable-shared --with-ext=readline,openssl,+ --disable-install-capi --disable-install-doc --disable-install-rdoc
This was just a test-configure; both "make" and "make install" finished without an error though.
I then tried with 2.6.5 with exactly the same configure option as above, and this error appeared
during **make install**:
x86_64-linux/openssl.so: undefined symbol: EC_GROUP_new_curve_GF2m - /Depot/jjjj/ruby-2.6.5/.ext/x86_64-linux/openssl.so (LoadError)
make: *** [uncommon.mk:371: do-install-nodoc] Error 1
My local openssl is 1.1.1c by the way (also self-compiled; I compile everything from source,
typically via help from ruby. I could try ftp://ftp.openssl.org/source/openssl-1.1.1d.tar.gz
perhaps but I have had some difficulties with openssl in the past, so I'd rather try more stable
releases of openssl than unstable ones).
Anyway, I am just reporting this here so that the ruby core team is aware of the problem. No
idea what EC_GROUP_new_curve_GF2m is, but it does not appear to occur on ruby-2.6.4.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:95178] [Ruby master Bug#16194] Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description)
[not found] <redmine.issue-16194.20191001145751@ruby-lang.org>
2019-10-01 14:57 ` [ruby-core:95173] [Ruby master Bug#16194] Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description) shevegen
2019-10-01 16:33 ` [ruby-core:95175] " nobu
@ 2019-10-02 1:28 ` mame
2 siblings, 0 replies; 3+ messages in thread
From: mame @ 2019-10-02 1:28 UTC (permalink / raw)
To: ruby-core
Issue #16194 has been updated by mame (Yusuke Endoh).
@shevegen
There is no change that seems to affect openssl or build process between ruby-2.6.4 and ruby-2.6.5. Do you mean that you could build ruby-2.6.4 before? Can you still build ruby-2.6.4 in your current environment?
And, are you using Linux From Scratch or something?
----------------------------------------
Bug #16194: Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description)
https://bugs.ruby-lang.org/issues/16194#change-81812
* Author: shevegen (Robert A. Heiler)
* Status: Feedback
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: new ruby 2.6.5 release published today (1st october 2019)
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
I am trying to compile the latest 2.6.5 release, just released recently:
https://ftp.ruby-lang.org/pub/ruby/2.6/ruby-2.6.5.tar.xz
I had a problem, which will be mentioned soon; but I first made sure that I do not
have this problem with ruby-2.6.4, so I believe something must have changed in
behaviour.
Here is the configure line I was using for 2.6.4:
./configure --prefix=/opt/ruby --enable-debug-env --enable-load-relative --enable-frozen-string-literal-debug --enable-pthread --enable-shared --with-ext=readline,openssl,+ --disable-install-capi --disable-install-doc --disable-install-rdoc
This was just a test-configure; both "make" and "make install" finished without an error though.
I then tried with 2.6.5 with exactly the same configure option as above, and this error appeared
during **make install**:
x86_64-linux/openssl.so: undefined symbol: EC_GROUP_new_curve_GF2m - /Depot/jjjj/ruby-2.6.5/.ext/x86_64-linux/openssl.so (LoadError)
make: *** [uncommon.mk:371: do-install-nodoc] Error 1
My local openssl is 1.1.1c by the way (also self-compiled; I compile everything from source,
typically via help from ruby. I could try ftp://ftp.openssl.org/source/openssl-1.1.1d.tar.gz
perhaps but I have had some difficulties with openssl in the past, so I'd rather try more stable
releases of openssl than unstable ones).
Anyway, I am just reporting this here so that the ruby core team is aware of the problem. No
idea what EC_GROUP_new_curve_GF2m is, but it does not appear to occur on ruby-2.6.4.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-02 1:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <redmine.issue-16194.20191001145751@ruby-lang.org>
2019-10-01 14:57 ` [ruby-core:95173] [Ruby master Bug#16194] Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description) shevegen
2019-10-01 16:33 ` [ruby-core:95175] " nobu
2019-10-02 1:28 ` [ruby-core:95178] " mame
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).