title: Installing OpenSSL on Ubuntu for Rails development?
body: <p>I am running the latest RVM on Ubuntu 10.10 and I managed to get most of the development environment running, except for OpenSSL.</p>
  
  <p>When I try to install the package I get the following error:</p>
  
  <pre><code>$ rvm package install openssl &gt; error
  ERROR: Error running 'tar zxf /home/ruby/.rvm/archives/openssl-0.9.8n.tar.gz -C    
  /home/ruby/.rvm/src', please read /home/ruby/.rvm/log/openssl/extract.log
  ERROR: Error running './config  -I/home/ruby/.rvm/usr/include -L/home/ruby/.rvm
  /usr/lib     
  --prefix=/home/ruby/.rvm/usr zlib no-asm no-krb5 shared  ', please read /home/ruby
  /.rvm/log/openssl/configure.log
  ERROR: Error running '/usr/bin/make ', please read /home/ruby/.rvm/log/openssl/make.log
  ERROR: Error running '/usr/bin/make install', please read /home/ruby/.rvm/log/openssl   
  /make.install.log
  </code></pre>
  
  <p>It seems that the original downloaded file is corrupt when I get it via RVM. So, I downloaded and unpacked it to <code>~/.rvm/src/openssl0.9.8</code> and the first error is gone (error running <code>tar zxf</code>), but I still get the other ones.</p>
  
  <p>Edit: my Ruby version, if anyone cares, is:</p>
  
  <pre><code>$ ruby -v
  ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
  </code></pre>