When you attempt to clone a Git repository in SAS® Studio, it fails with the following messages:
NOTE: libgit2.so not found in the system location, trying the extension path.
NOTE: libgit2.so not found in the system location, trying the install path.
ERROR: libgit2.so not found.
ERROR: Unable to load libgit2 module.
This problem occurs if the installed OpenSSL version is different from the versions used to build the libgit2.so and libssh2.so files deployed by SAS.
For both SAS® 9.4M7 and SAS® 9.4M8, you only need to install the hot fix.
The installation steps for this hot fix vary depending on the version of SAS 9.4 and OpenSSL that are installed.
You can obtain the OpenSSL version by issuing the following Linux command:
Installing this hot fix requires that you update to OpenSSL 1.1.x. Then, follow the steps outlined for OpenSSL 1.1.x.
For SAS 9.4M8, you only need to install the hot fix.
For SAS 9.4M7, you need to install the hot fix and then download the openssl11x.tgz file and install it using the steps outlined below.
For SAS 9.4M8, you need to install the hot fix and then download the openssl3x.tgz file and install it using the steps outlined below.
For SAS 9.4M7, OpenSSL 3.x is not supported. You must upgrade to SAS 9.4M8 or later to use OpenSSL 3.x.
ln -s libssh2.so.1 libssh2.so