Install problem with OpenSSL

1,053 views
Skip to first unread message

OLance

unread,
Jun 27, 2008, 11:05:53 AM6/27/08
to Phusion Passenger Discussions
Hi,

I've been asking my server administrator to install Passenger, but
we're having an error on the execution of :

> passenger-install-apache2-module

It outputs "OpenSSL support for Ruby... not found". We have then
installed the openssl ruby gem as told by the installer, and try the
command again...

And "not found" again ! The installer gives the same

Are there other packages to check ? Or a way to tell the installer
which directory to check ? What would this directory be then ?

Thanks a lot !

Hongli Lai

unread,
Jun 27, 2008, 11:55:51 AM6/27/08
to phusion-...@googlegroups.com

On Ubuntu the package is called 'libopenssl-ruby1.8'. You can check
whether it's installed by running "require 'openssl'" in an irb prompt.

How to install it depends on your platform. But generally, you if you
have the OpenSSL development headers, and you install Ruby from source,
then Ruby will be compiled with OpenSSL support.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

OLance

unread,
Jul 3, 2008, 5:18:35 AM7/3/08
to Phusion Passenger Discussions
Hello,

thanks for your reply and sorry for the delay...

The libopenssl-ruby1.8 package is installed, in its 1.8.5-4etch1
version. Everything seems find, but the installer keeps saying OpenSSL
support isn't active.
Ruby has been install from sources, I think it's Ruby 1.8.6.

I've asked to try recompiling Ruby with the option --with-openssl-dir
explicitly given... so wait and see...

No other idea on this failure ?

On 27 juin, 17:55, Hongli Lai <hon...@phusion.nl> wrote:
> OLancewrote:
> E-mail: i...@phusion.nl

Wally Valters

unread,
Jul 3, 2008, 7:28:09 AM7/3/08
to phusion-...@googlegroups.com
After compiling and installing ruby, from the source you go to the ext/openssl dir and compile it

as in cd to : /usr/local/src/ruby-1.8.7-p22/ext/openssl (or whatever)
sudo ruby extconf.rb
make
make install


This assumes you have openssl-dev packages appropriate for your distro installed

OLance

unread,
Aug 4, 2008, 9:31:27 AM8/4/08
to Phusion Passenger Discussions
Great, Wally, that was the solution to my problem !!

I've been able to install passenger and forget all about Mongrel :D

Thanks a lot !
Olivier

On 3 juil, 13:28, "Wally Valters" <deepsk...@gmail.com> wrote:
> After compiling and installing ruby, from the source you go to the
> ext/openssl dir and compile it
>
> as in cd to : /usr/local/src/ruby-1.8.7-p22/ext/openssl (or whatever)
> sudo ruby extconf.rb
> make
> make install
>
> This assumes you have openssl-dev packages appropriate for your distro
> installed
>
Reply all
Reply to author
Forward
0 new messages