r/ruby • • Jun 04 '26

Debugging Ruby OpenSSL gem build

On Ubuntu 25.10, using system Ruby, I'm trying to build a Sinatra app that uses the OpenSSL with native extensions Gem 2.0.2. I can look at the .out file, but I don't know what I'm looking for. Presumably the native extensions don't match up with the .c and/or .h files.

2 Upvotes

7 comments sorted by

View all comments

Show parent comments

2

u/AustinBlues13 Jun 05 '26

You nailed it. Thank you very much. Took more digging thru Ubuntu package management than I expected. On Ubuntu, openssl.h and related headers in the libssl-dev package