<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>a.muse: Installing Openssl on Ubuntu</title>
    <link>http://www.jessirae.com/blog/articles/2007/03/11/installing-openssl-on-ubuntu</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Installing Openssl on Ubuntu</title>
      <description>If you have tried to install Mechanize or any gem that requires openssl on Ubuntu or Debian, you may have encountered the following error&amp;#8230;
	&lt;blockquote&gt;
		&lt;p&gt;LoadError: no such file to load&amp;#8212;openssl&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;p&gt;despite the fact that you have installed openssl with &amp;#8220;gem install libopenssl-ruby&amp;#8221;.&lt;/p&gt;


	&lt;p&gt;Thanks to &lt;a href="http://www.ruby-forum.com/topic/90083"&gt;this thread&lt;/a&gt;, I found out that in order to install openssl, you have to tell ruby how to compile the openssl extension, like this&amp;#8230;&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;cd /ruby-1.8.4/ext/openssl
ruby extconf.rb
make
make install&lt;/code&gt;&lt;/pre&gt;
</description>
      <pubDate>Sun, 11 Mar 2007 23:25:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:abdfc916-13cd-4918-bac5-f27f8b2ca23f</guid>
      <author>Jessica</author>
      <link>http://www.jessirae.com/blog/articles/2007/03/11/installing-openssl-on-ubuntu</link>
      <category>ruby &amp; rails</category>
      <category>ruby</category>
      <category>openssl</category>
      <category>make</category>
      <category>install</category>
      <category>mechanize</category>
      <trackback:ping>http://www.jessirae.com/blog/articles/trackback/12692</trackback:ping>
    </item>
  </channel>
</rss>
