Problem Note 69920: Attempting to clone a Git repository fails with "ERROR: Unable to load libgit2.module"
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 OpenSSL version is different from what the libgit2 and libshh2 versions that shipped with SAS were built with. The default version of OpenSSL that is supported with Git is 1.0.x.
You can obtain the OpenSSL version by issuing the following Linux command:
openssl version
OpenSSL 1.1.x Is Installed
SAS® Viya® platform: Download the libgit2.zip and libssh2.so.zip files from the Downloads tab.
SAS® 9.4M7 or SAS® 9.4M8: Install the hot fix and download libgit2.zip and libssh2.so.zip from the Downloads tab.
OpenSSL 3 Is Installed
SAS Viya platform: Install OpenSSL 1.0.x and use the libraries shipped with SAS, or install OpenSSL 1.1.x and download the libgit2.zip and libssh2.so.zip files from the Downloads tab.
SAS 9.4M7 or SAS9.4M8: Install the hot fix, install OpenSSL 1.0.x, and use the libraries shipped with SAS, or install OpenSSL 1.1.x and download the libgit2.zip and libssh2.so.zip files from the Downloads tab.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Studio | Solaris for x64 | 9.4 TS1M7 | |
Linux for x64 | 9.4 TS1M7 | |
HP-UX IPF | 9.4 TS1M7 | |
64-bit Enabled Solaris | 9.4 TS1M7 | |
64-bit Enabled AIX | 9.4 TS1M7 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Right-click the link, select Save link as from the context menu, and browse to the location where you want to save the file: libgit2.zip
Right-click the link, select Save link as from the context menu, and browse to the location where you want to save the file: libssh2.so.zip
Type: | Problem Note |
Priority: | high |
Date Modified: | 2023-04-03 11:26:02 |
Date Created: | 2023-03-03 11:23:20 |