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

Fedora 19 + ruby-build = error: ‘EC_GROUP_new_curve_GF2m’ undeclared #444

Closed
supr opened this issue Nov 1, 2013 · 4 comments
Closed

Comments

@supr
Copy link

supr commented Nov 1, 2013

Hi,

I use Fedora 19 as my primary development system. When using ruby-build plugin with rbenv i get the following error

ossl_pkey_ec.c:766:17: warning: implicit declaration of function ‘EC_GF2m_simple_method’ [-Wimplicit-function-declaration]
                 method = EC_GF2m_simple_method();
                 ^
ossl_pkey_ec.c:766:24: warning: assignment makes pointer from integer without a cast [enabled by default]
                 method = EC_GF2m_simple_method();
                        ^
ossl_pkey_ec.c:821:29: error: ‘EC_GROUP_new_curve_GF2m’ undeclared (first use in this function)
                 new_curve = EC_GROUP_new_curve_GF2m;
                             ^
ossl_pkey_ec.c:821:29: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [ossl_pkey_ec.o] Error 1
make[2]: *** Waiting for unfinished jobs....
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
installing default ripper libraries
compiling init.c
make[2]: Leaving directory `/tmp/ruby-build.20131031165127.5126/ruby-2.0.0-p247/ext/openssl'
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Related Bug in rvm rvm/rvm#2320

Thanks

@hsbt
Copy link
Member

hsbt commented Nov 1, 2013

see #443

this issue isn't ruby-build issue. I reported this and already fixed ruby-core ref. http://bugs.ruby-lang.org/issues/9065

@hsbt hsbt closed this as completed Nov 1, 2013
@mislav
Copy link
Member

mislav commented Nov 1, 2013

@postmodern
Copy link

@mislav could you link to a formatted patch? The wiki instructions link to the HTML diff: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/41808/diff

@mislav
Copy link
Member

mislav commented Dec 20, 2013

@postmodern I linked to the HTML because it's viewable in the browser, while the "unified diff" link is a forced download. However, I'll soon merge #469 which adds the --patch flag and will revise documentation and instructions with ready examples of how you can apply some of these essential patches.

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

No branches or pull requests

4 participants