ANSYS 2021 R1 on RHEL 8.4

Officially, 2021 R1 only supports up to RHEL 8.1. Launching 2021 R1 on RHEL 8.4 complaints

/usr/ansys_inc/v211/licensingclient/linx64/ansyscl: symbol lookup error: /lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b

Downgrading openssl (multiple times needed depending on the current openssl version) can solve the problem

sudo dnf downgrade openssl-libs

However, it is extremely unsafe to stay at old version libs. But we can copy the old version libraries to another folder and upgrade all the libraries afterwards,

sudo mkdir /usr/ansys_inc/shared_files/lib64
sudo cp /lib64/{libcrypto.so.1.1,libgssapi_krb5.so.2,libk5crypto.so.3,libkrb5.so.3,libkrb5support.so.0,libssl.so.1.1} /usr/ansys_inc/shared_files/lib64/
sudo dnf upgrade

Now create your own launcher and enjoy

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/ansys_inc/shared_files/lib64
/usr/ansys_inc/v211/Framework/bin/Linux64/runwb2

Leave a Reply

Your email address will not be published. Required fields are marked *