Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

467
Views
Ruby 2.7.4 y 3.0.0 fallan en macOS Big Sur (11.2.3): identificador no declarado RSA_SSLV23_PADDING

Intento instalar Ruby 2.7.4 y Ruby 3 en Intel Mac 11.2.3 y veo el siguiente error durante la compilación (instalando usando ruby-install ( https://github.com/postmodern/ruby-install ). I' Veo el siguiente error:

 ^ ossl_pkey_rsa.c:942:5: error: use of undeclared identifier 'RSA_SSLV23_PADDING' DefRSAConst(SSLV23_PADDING); ^ ossl_pkey_rsa.c:877:58: note: expanded from macro 'DefRSAConst' #define DefRSAConst(x) rb_define_const(cRSA, #x, INT2NUM(RSA_##x)) ^ <scratch space>:144:1: note: expanded from here RSA_SSLV23_PADDING ^ 107 warnings and 1 error generated. make[2]: *** [ossl_pkey_rsa.o] Error 1 make[1]: *** [ext/openssl/all] Error 2 make: *** [build-ext] Error 2 !!! Compiling ruby 2.7.4 failed!

Además, para su información:

 ❯ openssl version LibreSSL 2.8.3
over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

ruby-install se encarga de instalar la dependencia de OpenSSL por usted, pero había un error en ruby-install en el que no especificaba la versión exacta de openssl que debía instalarse. Afortunadamente eso ha sido arreglado:

  1. Actualice ruby-install a> = 0.8.3 (por ejemplo, brew upgrade ruby-install ) que fija la dependencia de openssl para ruby en 1.1
  2. Instale ruby 3 (por ejemplo, ruby-install ruby 3.0.2 )

Detalles:

Esto se resolvió en ruby-install (se informó por primera vez con https://github.com/postmodern/ruby-install/issues/409 ). Homebrew tiene por defecto openssl a 3.0 (la última versión principal), pero Ruby aún no ha agregado soporte para OpenSSL3.0. Como tal dependencia de openssl , ruby-install estaba intentando usar la versión incorrecta (Ruby todavía está en 1.1).

over 4 years ago · Santiago Trujillo Report

0

Solo para referencia futura, si alguien se enfrenta a algo similar con rvm , simplemente desinstale openssl@3 usando brew y en su lugar instale openssl@1.1

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!