[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

missing openssl.so in x86_64-linux/

joelkeepup

4/12/2008 1:29:00 AM

Hi,

I am running centos 5.0 (64 bit) and want to run ruby 1.8.6 and rails.

I installed 1.8.6 from source using:
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p...
tar xfz ruby-*
cd ruby-*
../configure --prefix=/usr --enable-pthread --with-readline-dir=/usr/
local --enable-shared
make
sudo make install

Ruby seems to be there and ok,

ruby -v
ruby 1.8.6 (2008-03-03 patchlevel 114) [x86_64-linux]

but when I try to start my rails server, it complains:

/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:159:in
`require_frameworks': no such file to load -- openssl.so
(RuntimeError)

When I look in:
/usr/lib/ruby/1.8/x86_64-linux/ - there is no open ssl library

but when I look in:
/usr/lib/ruby/1.8/i386-linux/openssl.so it is there , I tried copying
it over, but it didnt like that version.

any ideas?

Also is it possible just to force using the 32 bit version of ruby
even on this install?

thanks
Joel

2 Answers

hemant

4/12/2008 3:28:00 AM

0


On Sat, 2008-04-12 at 10:30 +0900, joelkeepup wrote:
> Hi,
>
> I am running centos 5.0 (64 bit) and want to run ruby 1.8.6 and rails.
>
> I installed 1.8.6 from source using:
> wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p...
> tar xfz ruby-*
> cd ruby-*
> ./configure --prefix=/usr --enable-pthread --with-readline-dir=/usr/
> local --enable-shared
> make
> sudo make install
>
> Ruby seems to be there and ok,
>
> ruby -v
> ruby 1.8.6 (2008-03-03 patchlevel 114) [x86_64-linux]
>
> but when I try to start my rails server, it complains:
>
> /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:159:in
> `require_frameworks': no such file to load -- openssl.so
> (RuntimeError)
>
> When I look in:
> /usr/lib/ruby/1.8/x86_64-linux/ - there is no open ssl library
>
> but when I look in:
> /usr/lib/ruby/1.8/i386-linux/openssl.so it is there , I tried copying
> it over, but it didnt like that version.
>
> any ideas?

Did you had openssl library and its devel package installed before
compiling Ruby?

>
> Also is it possible just to force using the 32 bit version of ruby
> even on this install?
>
> thanks
> Joel
>
>


joelkeepup

4/12/2008 12:10:00 PM

0

On Apr 11, 11:27 pm, hemant kumar <gethem...@gmail.com> wrote:
> On Sat, 2008-04-12 at 10:30 +0900, joelkeepup wrote:
> > Hi,
>
> > I am running centos 5.0 (64 bit) and want to run ruby 1.8.6 and rails.
>
> > I installed 1.8.6 from source using:
> > wgetftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p...
> > tar xfz ruby-*
> > cd ruby-*
> > ./configure --prefix=/usr --enable-pthread --with-readline-dir=/usr/
> > local --enable-shared
> > make
> > sudo make install
>
> > Ruby seems to be there and ok,
>
> > ruby -v
> > ruby 1.8.6 (2008-03-03 patchlevel 114) [x86_64-linux]
>
> > but when I try to start my rails server, it complains:
>
> > /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:159:in
> > `require_frameworks': no such file to load -- openssl.so
> > (RuntimeError)
>
> > When I look in:
> > /usr/lib/ruby/1.8/x86_64-linux/ - there is no open ssl library
>
> > but when I look in:
> > /usr/lib/ruby/1.8/i386-linux/openssl.so it is there , I tried copying
> > it over, but it didnt like that version.
>
> > any ideas?
>
> Did you had openssl library and its devel package installed before
> compiling Ruby?
>
>
>
> > Also is it possible just to force using the 32 bit version of ruby
> > even on this install?
>
> > thanks
> > Joel

yes, have both, it wouldnt have created the 32 bit version if I didnt
(I dont think)

~] rpm -qa | grep openssl
openssl-0.9.8b-8.3.el5_0.2
openssl-0.9.8b-8.3.el5_0.2
openssl-devel-0.9.8b-8.3.el5_0.2

any other ideas?

thanks
Joel