Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Installation on AlmaLinux Fails on OpenSSL Version

Installation on AlmaLinux Fails on OpenSSL Version

Added by Steve Kiss about 2 years ago

Hi there,

Trying to deploy OperProject on AlmaLinux 9 and I am stumped on an SSL error. It seems to related to the version of SSL Ruby is expecting.

The initial error message showed:

[openproject] ./bin/postinstall
rake aborted!
LoadError: libssl.so.1.1: cannot open shared object file: No such file or directory - /opt/openproject/vendor/ruby-3.1.2/lib/ruby/3.1.0/x86_64-linux/openssl.so

I tried to solve the problem by linking to libssl.so:

ln -s libssl.so libssl.so.1.1

This gives the same error but for libcrypto.

LoadError: libcrypto.so.1.1: cannot open shared object file: No such file or directory - /opt/openproject/vendor/ruby-3.1.2/lib/ruby/3.1.0/x86_64-linux/openssl.so

Tried another link:

ln -s libcrypto.so libcrypto.so.1.1

Now getting this:

LoadError: /lib64/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /opt/openproject/vendor/ruby-3.1.2/lib/ruby/3.1.0/x86_64-linux/openssl.so) - /opt/openproject/vendor/ruby-3.1.2/lib/ruby/3.1.0/x86_64-linux/openssl.so

My OpenSSL version is:

openssl version
OpenSSL 3.0.1 14 Dec 2021 (Library: OpenSSL 3.0.1 14 Dec 2021)

Seems that Ruby wants version 1.1. I'd prefer not to install an older version as we have other sites on this server.

Any suggestions on how to solve this?


Replies (4)

RE: Installation on AlmaLinux Fails on OpenSSL Version - Added by Steve Kiss about 2 years ago

Solved this by manually compiling OpenSSL 1.1 in a different location and linking libssl.so.1.1 and libcrypto.so.1.1 to the new location.

RE: Installation on AlmaLinux Fails on OpenSSL Version - Added by Cal Andos almost 2 years ago

Hi,

I'm facing the same problem as you on a Debian. Can you tell me how you solved the problem.

Here is the initial problem

LoadError: libssl.so.1.1: cannot open shared object file: No such file or directory - /opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/x86_64-linux/openssl.so
<internal:/opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'

Like you, I installed an old version of OpenSSL here /opt/openssl/openssl-1.1.1u/

I've created symbolic links, but in my opinion not in the right place

/opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/x86_64-linux/libcrypto.so.1.1 -> /opt/openssl/openssl-1.1.1u/libcrypto.so.1.1

and

/opt/openproject/vendor/ruby-3.2.1/lib/ruby/3.2.0/x86_64-linux/libssl.so.1.1 -> /opt/openssl/openssl-1.1.1u/libssl.so.1.1

but I still get the same error.

Can you tell me how and where you created your symbolic links?

Thank you very much.

RE: Installation on AlmaLinux Fails on OpenSSL Version - Added by Lukas Koch almost 2 years ago

I managed to install it on Debian 12 by adding the old stable repository to the apt sources:

deb http://security.debian.org/debian-security bullseye-security main

Then just installed libssl1.1.

RE: Installation on AlmaLinux Fails on OpenSSL Version - Added by Paul Grimes 10 months ago

The simplest solution is to install the compat-libssl11 package on Almalinux with

sudo dnf install compat-libssl11

  • (1 - 4/4)
Loading...