When running e.g. ndsstrace you get an error that a shared library is not found

  • 3651173
  • 28-Feb-2008
  • 27-Apr-2012

Environment


Novell Open Enterprise Server 2 (OES 2)
Novell SUSE Linux Enterprise Server 10 Support Pack 1

Situation

When starting a NDS tool (e.g. ndsstat) an error is being displayed:
ERROR: /opt/novell/eDirectory/bin/ndsstat: error while loading shared libraries: libcss2.so: cannot open shared object file: No such file or directory

In the file /var/log/boot.msg, other daemons are also experiencing problems:
ERROR: /usr/bin/namldapprobe: error while loading shared libraries: libldapsdk.so.0: cannot open shared object file: No such file or directory



Additionally NSS volumes may not mount, the ncp2nss service may not start, and other related facilities in NCP, NSS and eDirectory may not be working (eg loading NSSMU ).

Resolution

Running . /opt/novell/eDirectory/bin/ndspath will fix the problem only for the active bash.
The problem is permanently fixed by then running ldconfig in the same bash session.