Search code examples
linuxopensusesap-basisnetweaver

SAP NetWeaver. Unable to get handle to iamodell.so: libnsl.so.1: cannot open shared object file: no such file or directory


I am trying to install SAP NetWeaver demo (7.52 SP04) on my Oracle Virtual Machine via OpenSUSE 15.5 Linux Gnome.

When running install.sh file I get the error:

#################################################################################
Unable to get handle to iamodell.so: libnsl.so.1: cannot open shared object file: No such file or directory
#################################################################################
Error: sapinst has finished with an error code, please find logs in /tmp/sapinst_instdir
Error code: 20

I tried to install the libnsl file manually following OpenSUSE instructions: https://software.opensuse.org/download/package?package=libnsl&project=spins%3Ainvis%3Abenno

  1. zypper addrepo https://download.opensuse.org/repositories/spins:invis:benno/15.5/spins:invis:benno.repo
  2. zypper refresh
  3. zypper install libnsl

Repo was successfully added, libnsl was installed.

Command zypper search libnsl showed following:

Terminal screenshot

But I am still getting the same error when trying to reinstall and launch install.sh file.

How can I add and then open this libnsl file to complete the installation?


Solution

  • libnsl.so.1 actually meant libnsl1

    So, sudo zypper install libnsl1 was the solution.