Missing libnsl library when running IDL graphic functions on recent Linux flavor




Recent Linux flavors such as Fedora Core 3x and CentOS 8 do not include libnsl library in their glibc package because this library is deprecated in these recent versions.

However this libnsl library is mandatory to run IDL graphic functions such as:


If libnsl is not present the above routine will return an error

% Error loading sharable executable.
      Symbol: IDL_Load, File = /usr/local/harris/envi56/idl88/bin/bin.linux.x86_64/idl_xml.so
      libnsl.so.1: cannot open shared object file: No such file or directory

In order to fix this error it requires that you manually install the missing library, for example using the below command:

sudo dnf install libnsl




created by BC on 10/9/2020

reviewed by CS on 10/9/2020

Please login or register to post comments.