|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Thanks a lot pal, it worked perfectly for me too. I had the same openssl
problem on a new ubuntu server box. Thanks for the tip. Chad wrote: > 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. -- Posted via http://www.ruby-forum.com/. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
So much for distribution's package managers making your life easier,
huh? ;-) -- Posted via http://www.ruby-forum.com/. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On 19/06/08 at 23:18 +0900, Marc Heiler wrote:
> So much for distribution's package managers making your life easier, > huh? ;-) I don't think anybody reported a bug about that to Ubuntu or Debian. And Ubuntu just imports the Ruby packages from Debian. Also, it works perfectly fine here. On a clean Debian install: apt-get install ruby libopenssl-ruby ; ruby -e 'require "openssl"' doesn't raise any error. If you can still reproduce this, I would be interested in the outputs of "dpkg -l | grep ruby" and "dpkg -L libopenssl-ruby1.8" on your system. -- | Lucas Nussbaum | lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ | | jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F | |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
[Note: parts of this message were removed to make it a legal post.]
On Fri, Jun 20, 2008 at 1:18 PM, Lucas Nussbaum <lucas@lucas-nussbaum.net> wrote: > On 19/06/08 at 23:18 +0900, Marc Heiler wrote: > > So much for distribution's package managers making your life easier, > > huh? ;-) > > I don't think anybody reported a bug about that to Ubuntu or Debian. And > Ubuntu just imports the Ruby packages from Debian. > > Also, it works perfectly fine here. On a clean Debian install: > apt-get install ruby libopenssl-ruby ; ruby -e 'require "openssl"' > doesn't raise any error. > > If you can still reproduce this, I would be interested in the outputs of > "dpkg -l | grep ruby" and "dpkg -L libopenssl-ruby1.8" on your system. > -- > | Lucas Nussbaum > | lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ | > | jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F | > > If I rememer right, 'require "openssl"' raised an error when I compiled from source of ruby-1.8.6 or ruby-1.8.7 after Ubuntu-8.04 fresh install. I did not try the ruby package. Prasad |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
This worked for me:
1) Compile SSL from scratch 2) Make note of the install location, shown as /where/you/installed/openssl below 3) Use the earlier instruction (above) to manually create the extension: cd ext/openssl ../../ruby extconf.rb --with-openssl-include=/where/you/installed/openssl/include --with-openssl-lib=/where/you/installed/openssl LD_RUN_PATH=/where/you/installed/openssl/lib make make install I'm not sure the LD_RUN_PATH is needed, but I've had problems with Ruby before so included it to be safe. -Nate -- Posted via http://www.ruby-forum.com/. |
|
![]() |
| Outils de la discussion | |
|
|