Ask Your Question

could not load open ssl; cannot install

asked 2015-01-16 13:49:03 -0600

jdhvnkl2 gravatar image

Hi, I have tried to install puppet opensource on 2 offline machines: ubuntu 12.04 and Red Hat 6. I have installed ruby 2.2.0 from tar.gz file and then I installed Facter and Hiera from tar.gz file. Both facter and hiera installed successfully, However When i try to run ruby install.rb on the puppet installation it failed with the following error: ftools not found. Using FileUtils instead.. Could not load openssl; cannot install

I hope someone could help because I cant install it in my organization (The installation must occur on offline machines)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-01-25 04:01:45 -0600

jdhvnkl2 gravatar image

what fixed the problem is installing rvm

edit flag offensive delete link more

answered 2015-01-16 15:25:54 -0600

GregLarkin gravatar image

You need to install the openssl gem as well. If you see any other Could not load XXX; cannot install type errors, make sure that you install the gem that the error message mentions, and you should be all set.

edit flag offensive delete link more


Hi, thank you for your answer. however I have tried this already. it did not work for me i downloaded the gem from and then installed it with the following command : gem install --local ~/openssl-1.0.0.beta.gem after that I got the same error

jdhvnkl2 gravatar imagejdhvnkl2 ( 2015-01-17 14:36:29 -0600 )edit

Make sure that the gem can be found in your RUBYLIB environment variable and/or set the RUBYLIB explicitly. The Puppet installer uses "require 'openssl'", and the gem has to be found in order for that to succeed.

GregLarkin gravatar imageGregLarkin ( 2015-01-19 11:49:09 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-01-16 13:47:59 -0600

Seen: 658 times

Last updated: Jan 25 '15