0

How to add following dependencies to start my rails server: While starting the server using following command bin/start thin getting following error message:

/usr/share/rvm/rubies/ruby-2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:54:in `require': libssl.so.1.0.0: cannot open shared object file: No such file or directory - /usr/share/rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/x86_64-linux/openssl.so (LoadError)

After upgrading Ubuntu this issues happened, as I have cleaned some files along with installation. Not sure how to solve this.

Update

If I try to start the server using command: bin/start

Getting different error message:

/usr/share/rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/digest.rb:16:in `const_missing': library not found for class Digest::SHA1 -- digest/sha1 (LoadError)

1

1 Answer 1

0

Perhaps you have a broken install? In this case, reinstalling the package with apt should solve the problem. Or maybe you could run sudo apt install -f to fix packages? It looks like of the shared library (or modules) are missing.

2
  • sudo apt install -f this didn't fixed the problem
    – Dipak
    May 11, 2019 at 5:56
  • Then yes, maybe you should install OpenSSL Jim mentioned.
    – Xerus Lord
    May 12, 2019 at 17:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .