Why installing SAP HANA fails with the message "libssl.so.0.9.8: cannot open shared object file" in Red Hat Enterprise Linux 6 ?

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux 6 update 5 and higher
  • SAP HANA
  • Package openssl098e-*

Issue

  • Why installing SAP HANA fails with the message "libssl.so.0.9.8: cannot open shared object file" in Red Hat Enterprise Linux 6 ?

From hdblcm.log:

08:31:41.995 - ERR :Can't load '/hana/data/HANA/SAP_HANA_DATABASE/instruntime/SSLeay.so' for module Net::SSLeay: libssl.so.0.9.8: cannot open shared object file: No such file or directory at DynaLoader.pm line 193.  at sdbrun/Require.pl line 62.

Resolution

1. Verify whether openssl098 package is installed on the system using the command

rpm -qa | grep openssl098e

If the package is not installed, then install the package using yum

yum install openssl098e 

or check whether the latest package of openssl098e is installed on the system using the command

yum update openssl098e

2. Refer the following SAP note 2009879 - SAP HANA Guidelines for Red Hat Enterprise Linux (RHEL) Operating System for SAP HANA installation guidelines. As per page 8 of the document, following symlinks should be in place for compatibility reasons

# ln -s /usr/lib64/libssl.so.0.9.8e /usr/lib64/libssl.so.0.9.8
# ln -s /usr/lib64/libssl.so.1.0.1e /usr/lib64/libssl.so.1.0.1
# ln -s /usr/lib64/libcrypto.so.0.9.8e /usr/lib64/libcrypto.so.0.9.8
# ln -s /usr/lib64/libcrypto.so.1.0.1e /usr/lib64/libcrypto.so.1.0.1"

Root Cause

Lack of the required symlinks resulted in the failure

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments