When installing Control-M/Enterprise Manager 9.0.21 the following error is received when loading shared libraries: "libnsl1.so.1: cannot open shared object file: No such file or directory" when libnsl.so.1 and libnsl.so.2 are already installed. From the installation log something like below can be found: 10:02:02.949 1 ExecuteAction.executeCommand[826] Stderr: /app/controlmem/bmcperl/bmcperl_V1/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory 10:02:02.950 1 ExecuteAction.handleError[1093] Failed to execute "Stopping PostgreSQL server" 10:02:02.950 1 InstallerException.<init>[51] Failed to execute "Stopping PostgreSQL server": /app/controlmem/bmcperl/bmcperl_V1/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory 10:02:02.950 1 InstallManager.performCleanupWithRetry[2584] Error while performing undo action of /app/controlmem/bmcperl/bmcperl_V1/perl : Failed to execute "Stopping PostgreSQL server": /app/controlmem/bmcperl/bmcperl_V1/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory com.izforge.izpack.installer.InstallerException: Failed to execute "Stopping PostgreSQL server": /app/controlmem/bmcperl/bmcperl_V1/bin/perl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory at com.izforge.izpack.installer.actions.ExecuteAction.handleError(ExecuteAction.java:1124) |
Create a soft link between libnsl.so.2 and libnsl.so.1 running command: ln -s /usr/lib64/libnsl.so.2 /usr/lib64/libnsl.so.1 Run again the installation |