missing openssl.so in x86_64-linux/

J

joelkeepup

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-p114.tar.gz
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
 
H

hemant kumar

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-p114.tar.gz
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?
 
J

joelkeepup

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-p114.tar.gz
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,813
Messages
2,569,696
Members
45,483
Latest member
TedDvb6626

Latest Threads

Top