# Installing the openssl exntsion for ruby

**URL:** <https://www.ruby-forum.com/t/installing-the-openssl-exntsion-for-ruby/126164>\
**Category:** Ruby\
**Created:** [January 15, 2008, 10:55pm UTC](https://www.ruby-forum.com/t/installing-the-openssl-exntsion-for-ruby/126164 "2008-01-15T22:55:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zakufob](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@zakufob](https://www.ruby-forum.com/u/zakufob)\
**Post date:** [January 15, 2008, 10:55pm UTC](https://www.ruby-forum.com/t/installing-the-openssl-exntsion-for-ruby/126164/1 "2008-01-15T22:55:50Z")

</div>

Hi,

Ruby-newbie here. I’ve exhausted google and I’ve yet to find a solution  
to this problem. I might be just reading the solutions wrong, but when  
I try to install the openssl extension for ruby (in order to use the  
Amazon Web Service AMI Tools) with the commands:

#cd /ext/openssl  
 #ruby extconf.rb

I get the following error messages:

=== OpenSSL for Ruby configurator ===  
=== Checking for system dependent stuff… ===  
checking for t\_open() in -lnsl… no  
checking for socket() in -lsocket… no  
checking for assert.h… yes  
=== Checking for required stuff… ===  
checking for openssl/ssl.h… no  
=== Checking for required stuff failed. ===  
Makefile wasn’t created. Fix the errors above.

I’m doing this on a Suse 10.2 Linux system with Ruby 1.8.6-p111 and  
openssl 0.9.8g installed.

Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![zakufob](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@zakufob](https://www.ruby-forum.com/u/zakufob)\
**Post date:** [January 16, 2008, 9:41pm UTC](https://www.ruby-forum.com/t/installing-the-openssl-exntsion-for-ruby/126164/2 "2008-01-16T21:41:22Z")

</div>

On Tue, 15 Jan 2008 16:55:57 -0500, Muk Yan wrote:

> I get the following error messages:
> 
> Any help would be greatly appreciated.

You need to install the openssl-devel rpm which contains the header  
files  
needed to build new software with openssl.

–Ken
