Project

General

Profile

Bug #19844

Updated by hsbt (Hiroshi SHIBATA) almost 2 years ago

Ruby version 3.2 code base: https://github.com/ruby/ruby/tree/1c7624469880bcb964be09a49e4907873f45b026 

 openssl v3 is installed under /usr/local_ssl_3.0.0. 

 ``` 
 ./configure --with-openssl-dir=/usr/local_ssl_3.0.0 
 ``` 

 I get the following error when running make: 

 ``` 
 openssl_missing.c:24:13: error: dereferencing pointer to incomplete type ‘X509_CRL {aka const struct X509_crl_st}’ 
   *psig = crl->signature; 
              ^~ 
 openssl_missing.c: In function ‘ossl_X509_REQ_get0_signature’: 
 openssl_missing.c:36:13: error: dereferencing pointer to incomplete type ‘X509_REQ {aka const struct X509_req_st}’ 
   *psig = req->signature; 
              ^~ 
 ```              

 
             

 I am trying to build ruby 3.2 with openssl version 3 to install it on ubuntu 22 that only has openssl v3. Can you advise me how to configure ruby to bypass this error?

Back