------------------------------------------------------------
irb(main):001:0> require 'openssl'
LoadError: no such file to load -- openssl
from (irb):1:in `require'
from (irb):1
------------------------------------------------------------
I've tried everything in every post about this. I've blown away my
ruby install like 6 times. How do I get ruby to recognize openssl?
do you have 'openssl' installed? try to install, libssl0.9.8 or highet
and libssl-dev.
jflez.
Chad wrote:
···
Help!
Why do I continually get the following error?
------------------------------------------------------------
irb(main):001:0> require 'openssl'
LoadError: no such file to load -- openssl
from (irb):1:in `require'
from (irb):1
------------------------------------------------------------
I've tried everything in every post about this. I've blown away my
ruby install like 6 times. How do I get ruby to recognize openssl?
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
When building from source I do as much as possible as an ordinary user -
you only need to be root to do the install, so I use sudo to do that
part as root:
ruby extconf.rb
make
sudo make install
While installing rails 4.0.0 on top of ruby 2.0.0 I had the problem
discussed in this thread. The above fix worked but then I got a similar
error because zlib was missing. As well as the openssl package, there's
a zlib package in the ext directory which you build in the same way:
Absolutely... I'm not a linux expert though, but I have a feeling
they're installing somewhere that ruby can't see them. What can I do
to ensure apt-get is behaving properly?
See below:
[/root] # apt-get install openssl
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssl is already the newest version.
[/root] # apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version.
Thank you,
Chad
···
On Dec 2, 4:46 am, Jose francisco Gonzalez carmona <pgonza...@naupacto.com> wrote:
do you have 'openssl' installed? try to install, libssl0.9.8 or highet
and libssl-dev.
jflez.
Chad wrote:
> Help!
> Why do I continually get the following error?
> ------------------------------------------------------------
> irb(main):001:0> require 'openssl'
> LoadError: no such file to load -- openssl
> from (irb):1:in `require'
> from (irb):1
> ------------------------------------------------------------
> I've tried everything in every post about this. I've blown away my
> ruby install like 6 times. How do I get ruby to recognize openssl?
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.
Thanks for sharing, I have tried about 1 week to get it going, without
success!!!
Cheers
Robert
···
On 12/3/06, Chad <carimura@gmail.com> 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.
--
"The real romance is out ahead and yet to come. The computer revolution
hasn't started yet. Don't be misled by the enormous flow of money into bad
defacto standards for unsophisticated buyers using poor adaptations of
incomplete ideas."
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.
This information helped me when I was struggling with this problem
today.
I registed into this forum , immediately, only to thank you.
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.
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.
Chad: thank you for your help. I was create a rails project tickets.
gone into /ext/openssl/ and run
ruby extconf.rb
cd ../..
make
make install
At least now all those commands work without failing to find openssl.
Still, though, running irb and calling "require 'openssl'" yeilds the
very frustrating "no such file to load -- libssl"
What else am I forgetting to check?
-Gaius
Robert Dober wrote:
···
On 12/3/06, Chad <carimura@gmail.com> wrote:
and that fiiiiinally but the libraries where they should go.
Thanks for sharing, I have tried about 1 week to get it going, without
success!!!
Cheers
Robert
--
"The real romance is out ahead and yet to come. The computer revolution
hasn't started yet. Don't be misled by the enormous flow of money into
bad
defacto standards for unsophisticated buyers using poor adaptations of
incomplete ideas."
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.
···
On 19/06/08 at 23:18 +0900, Marc Heiler wrote:
So much for distribution's package managers making your life easier,
huh?
--
Lucas Nussbaum
lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |
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
···
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
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.
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
What does this error message on my blog mean?
I've posted my blog on a site (houseblogs.net). If you go to the blog
address directly, it comes up fine. But if you click on it from
houseblogs.net you get this message:
The requested URL /community/extensions/Blogs/greybox/0 was not found on
this server.
Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.
Apache/2.0.61 (Unix) mod_ssl/2.0.61 OpenSSL/0.9.8b mod_bwlimited/1.4
FrontPage/5.0.2.2635 mod_auth_passthrough/2.1 PHP/5.2.4 Server at www.houseblogs.net Port 80
If you'd rather not build form source, just do this (it worked for me on
Intrepid):
sudo apt-get install libopenssl-ruby
and then try again.
Amar Eis wrote:
···
Nate Wiger wrote:
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
What does this error message on my blog mean?
I've posted my blog on a site (houseblogs.net). If you go to the blog
address directly, it comes up fine. But if you click on it from
houseblogs.net you get this message:
The requested URL /community/extensions/Blogs/greybox/0 was not found on
this server.
Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.
Apache/2.0.61 (Unix) mod_ssl/2.0.61 OpenSSL/0.9.8b mod_bwlimited/1.4
FrontPage/5.0.2.2635 mod_auth_passthrough/2.1 PHP/5.2.4 Server at www.houseblogs.net Port 80