# Using openssl

**URL:** <https://www.ruby-forum.com/t/using-openssl/87482>\
**Category:** Ruby\
**Created:** [March 2, 2007, 10:12pm UTC](https://www.ruby-forum.com/t/using-openssl/87482 "2007-03-02T22:12:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![technodolt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@technodolt](https://www.ruby-forum.com/u/technodolt)\
**Post date:** [March 2, 2007, 10:12pm UTC](https://www.ruby-forum.com/t/using-openssl/87482/1 "2007-03-02T22:12:29Z")

</div>

I’m trying to run ruby extconf.rb in ext/openssl, and I get the  
following:

=== OpenSSL for Ruby configurator ===  
=== Checking for system dependent stuff… ===  
checking for t\_open() in -lnsl… no  
checking for socket() in -lsocket… no  
checking for unistd.h… yes  
checking for sys/time.h… yes  
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 using Ubuntu 6.10… can anyone tell me what I can do to fix the  
problems? I have openssl installed via ‘apt-get install openssl’

I don’t even know what the first two are talking about at all (the  
t\_open and socket())

---

<div class="post-metadata">

**Author:** ![technodolt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@technodolt](https://www.ruby-forum.com/u/technodolt)\
**Post date:** [March 2, 2007, 10:42pm UTC](https://www.ruby-forum.com/t/using-openssl/87482/2 "2007-03-02T22:42:17Z")

</div>

Luke I. wrote:

> I’m trying to run ruby extconf.rb in ext/openssl, and I get the  
> following:
> 
> === OpenSSL for Ruby configurator ===  
> === Checking for system dependent stuff… ===  
> checking for t\_open() in -lnsl… no  
> checking for socket() in -lsocket… no  
> checking for unistd.h… yes  
> checking for sys/time.h… yes  
> 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 using Ubuntu 6.10… can anyone tell me what I can do to fix the  
> problems? I have openssl installed via ‘apt-get install openssl’
> 
> I don’t even know what the first two are talking about at all (the  
> t\_open and socket())

Answered my own question, at least  
sudo apt-get install libssl-dev
