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.

--
Posted via http://www.ruby-forum.com/\.

I to all.

I'm new for the forum,
and not many able with linux e ruby,
but I'm on IT from many years.

I've read your discussion (and many other) ...
I have the same problem ....
"no such file to load -- openssl"
with ruby /script/server

I've installed ruby-1.9.1-p376 (without openssl) on a
vmware ubuntu 8.04 virtual machine.

For what I've understand, our suggests works fine
on ruby 1.8 / 1.9,
but for 1.9.1 I've not found anything.

Installing openssl, libssl-dev or libopenssl-ruby1.9
on my filesystem was created .../ruby/1.9.0,
but my ruby are on /ruby/1.9.1 !!

How I can download ruby1.9.1 with /ext subdir ...
or how I can integrate with openssl my ruby1.9.1.

Sorry for my english ...
and for my stupid question :frowning:

I hope my question are understandable.

fellons

···

--
Posted via http://www.ruby-forum.com/.

Roberto Felloni wrote:

I to all.

This may not address your concerns at all, but something we found out last year is that Debian / Ubuntu Server adopt GNUTLS for some facilities as opposed to OpenSSL, which has some implications for some things like behaviors with adoptions of certificates that are self-signed, or not signed by canonical sources. OpenLDAP was the one we were seeing this on. It worked with internal certs on CentOS, but not on Ubuntu Server, which uses GNUTLS instead of OpenSSL for this.

xc

···

I'm new for the forum,
and not many able with linux e ruby,
but I'm on IT from many years.

I've read your discussion (and many other) ...
I have the same problem ....
"no such file to load -- openssl"
with ruby /script/server

I've installed ruby-1.9.1-p376 (without openssl) on a
vmware ubuntu 8.04 virtual machine.

For what I've understand, our suggests works fine
on ruby 1.8 / 1.9,
but for 1.9.1 I've not found anything.

Installing openssl, libssl-dev or libopenssl-ruby1.9
on my filesystem was created .../ruby/1.9.0,
but my ruby are on /ruby/1.9.1 !!

How I can download ruby1.9.1 with /ext subdir ...
or how I can integrate with openssl my ruby1.9.1.

Sorry for my english ...
and for my stupid question :frowning:

I hope my question are understandable.

fellons

--
"It's the preponderance, stupid!" - Professor Stephen Schneider, IPCC member

Recompile and reinstall ruby 1.9.1 with the libssl-dev package
installed, and you might want to synchronize your system time with
'sudo ntpdate ntp.ubuntu.com' before compiling... I've had it refuse
to compile the openssl extension due to a skewed clock before.

Good luck...

-Jonathan Nielsen

···

On Fri, Jan 8, 2010 at 11:50 AM, Roberto Felloni <roberto.felloni@gmail.com> wrote:

How I can download ruby1.9.1 with /ext subdir ...
or how I can integrate with openssl my ruby1.9.1.

Install libopenssl-ruby1.9.1.

···

On 09/01/10 at 03:50 +0900, Roberto Felloni wrote:

Installing openssl, libssl-dev or libopenssl-ruby1.9
on my filesystem was created .../ruby/1.9.0,
but my ruby are on /ruby/1.9.1 !!

--

Lucas Nussbaum
lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |

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 Nielsen

···

On Fri, Jan 8, 2010 at 3:16 PM, Lucas Nussbaum <lucas@lucas-nussbaum.net> wrote:

Install libopenssl-ruby1.9.1.

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

···

--
Posted via http://www.ruby-forum.com/.