Error Message Indicating SO File Conflict Is Displayed During openssl-devel Installation

Symptom

When you run the yum install -y openssl-devel command to install openssl-devel, an error message indicating that a SO file conflict occurs is displayed, as shown in the following figure.

Possible Causes

The native package openssl-libs-1.1.1f-7.h1.eulerosv2r9 conflicts with the openssl-SMx-libs-1.1.1f-7.eulerosv2r9 package to be installed.

Note: Do not forcibly uninstall openssl-libs because services with SSL authentication depend on this package. For example, the SCP or SSH service depends on the libcrypto.so.1.1 library of this package. If this package is lost, the RPM package will become invalid.

Solution

  1. Create a folder and go to the folder.
    1
    2
    mkdir openDown
    cd openDown
    
  2. Run the following command to download the OpenSSL RPM package to the current folder:
    1
    yum install --downloadonly --downloaddir=. openssl-devel
    
  3. Run the rpm command for forcible installation.
    1
    rpm -Uvh xxx.rpm --force