The FILENAME FTP Access Method fails with "ERROR: libnsl.so.1: cannot open shared object file: No such file or directory" when executed on RHEL 8


The FILENAME FTP Access Method fails with the following error when executed on Red Hat Enterprise Linux (RHEL) release 8:

ERROR: Could not load /<SASHOME>/SASFoundation/9.4/sasexe/sasxbamf (96 images loaded)
ERROR: libnsl.so.1: cannot open shared object file: No such file or directory

The error occurs because the libnsl.so.1 file is not shipped with RHEL 8.

 

The workaround for this problem is to create a root symbolic link:

1. Issue the following command to verify the version of the libnsl.so file that is used at your site:

ls -l /lib64/libnsl*

2. Create a root symbolic link for the libnsl.so.1 file to a version that is used at your site. Here is example code if the file at your site is named libnsl.so.2.0.0:

root# cd /lib64
root# ln -s libnsl.so.2.0.0 libnsl.so.1