---
title: "Netprobe - Library version mismatch libnsl.so.1 needed but libnsl.so.2 exists"
description: "The Netprobe error occurs because libnsl.so.1 is missing while libnsl.so.2 is present. Starting with Geneos 7.12.1, libnsl.so.1 is bundled in the generic Linux package. Earlier generic Linux packages need libnsl.so.1 from the host."
url: "https://docs.itrsgroup.com/docs/faq/geneos/14950839988509-geneos-netprobe-library-version-mismatch-libnsl-so-1-needed-but-libnsl-so-2-exists/index.html"
---
## Description

The functions in this `libnsl.so.1` library provide routines that provide a transport-level interface to networking services for applications, facilities for machine-independent data representation, a remote procedure call mechanism, and other networking services useful for application programs.

`libnsl.so.1` is not installed in Red Hat Linux release 8.0 by default.

Starting with Geneos 7.12.1, `libnsl.so.1` is included in the generic Linux package. Those Netprobe packages do not need the host `libnsl` package on RHEL 8.

## Error Encountered

Error while loading shared libraries: `libnsl.so.1: cannot open shared object file: No such file or directory`

## Solution

For Geneos 7.12.1 and later, use the generic Linux x86-64 Netprobe package. `libnsl.so.1` is included in that package.

Dedicated RHEL 8 Netprobe packages for Geneos 7.11.1 and earlier require `libnsl.so.2`. Generic Linux x86-64 Netprobe packages earlier than Geneos 7.12.1 require `libnsl.so.1`. For either package, install the `libnsl` package:

```shell
yum install libnsl
```


**Note**

 The default path for `libnsl.so.1` library is `/lib64/libnsl.so.1`. Once the package is installed on the system it will also create a symlink to `/usr/lib64/libnsl.so.1`.  



