PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > Re: openssl error - ubuntu
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: openssl error - ubuntu

Réponse
 
LinkBack Outils de la discussion
Vieux 19/06/2008, 10h49   #1
James George
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: openssl error - ubuntu

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/.

  Réponse avec citation
Vieux 19/06/2008, 15h18   #2
Marc Heiler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: openssl error - ubuntu

So much for distribution's package managers making your life easier,
huh? ;-)
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 20/06/2008, 08h48   #3
Lucas Nussbaum
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: openssl error - ubuntu

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 |

  Réponse avec citation
Vieux 22/06/2008, 19h11   #4
G.Durga Prasad
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: openssl error - ubuntu

[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

  Réponse avec citation
Vieux 28/08/2008, 18h25   #5
Nate Wiger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: openssl error - ubuntu

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/.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h59.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12968 seconds with 13 queries