Openssl error - ubuntu

Worked for me, libopenssl-ruby was the missing package.

David Knoernschild wrote:

If you’d rather not build form source, just do this (it worked for me on
Intrepid):

sudo apt-get install libopenssl-ruby

and then try again.

On Fri, Jan 8, 2010 at 3:16 PM, Lucas N.
[email protected] wrote:

Install libopenssl-ruby1.9.1.

Works on Ubuntu Karmic and better, but this is 8.04 (Hardy), you need
to compile ruby 1.9.1 from source on these older versions of Ubuntu

-Jonathan N.

Hi.
Many thanks to all.
I’ve solved to recompile src ruby1.9.1 after
installation of libssl-dev, openssl and libssl0.9.8

I’ve compiled with that params:
–with-openssl-dir, --with-readline-dir, --with-zlib-dir

During compilation I receveid a warning : params unrecognized,
but now webrick start.

bye

Chad wrote in post #175543:

I finally figured it out.

I cleaned out all the current openssl files, then took the ruby 1.8.5
source, went into the ruby-1.8.5/ext/openssl directory and created the
openssl make file:

ruby extconf.rb
make
make install

and that fiiiiinally but the libraries where they should go.

Chad: thank you for your help. I was create a rails project tickets.

I got this error " no such file to load - openssl" when I load my rails
page:
http://localhost:3000/tickets

Your solution solved my problem.

find the correct answer on
http://blog.dhavalparikh.co.in/2011/10/solve-no-such-file-to-load-openssl-error/

I cleaned out all the current openssl files, then took the ruby 1.8.5
source, went into the ruby-1.8.5/ext/openssl directory and created the
openssl make file:

ruby extconf.rb
make
make install

When building from source I do as much as possible as an ordinary user -
you only need to be root to do the install, so I use sudo to do that
part as root:

ruby extconf.rb
make
sudo make install

While installing rails 4.0.0 on top of ruby 2.0.0 I had the problem
discussed in this thread. The above fix worked but then I got a similar
error because zlib was missing. As well as the openssl package, there’s
a zlib package in the ext directory which you build in the same way:

cd …/zlib
ruby extconf.rb
make
sudo make install

If you are using rvm (ruby version manager) you need to do nexts steps:

rvm pkg install openssl
rvm remove 1.9.2
rvm install 1.9.2 --with-openssl-dir=$HOME/.rvm/usr

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs