"Error loading shared libraries" seen on ZLM 7.3 server when running eDirectory commands.

  • 7005940
  • 10-May-2010
  • 30-Apr-2012


Novell ZENworks 7.3 Linux Management - ZLM7.3


After upgrading from ZLM 7.2.2 to 7.3 on a 64 bit system, ZCC no longer loads.

The log file /var/opt/novell/log/zenworks/tomcat/Catalina.start shows:

LifecycleException:  Exception opening directory server connection:  javax.naming.CommunicationException: localhost:389 [Root exception is java.net.ConnectException: Connection refused]

The following error message is displayed when you execute any of the Novell eDirectory commands on a 64-bit ZENworks Linux Management server.

Error when loading shared libraries


To add the 64 bit libraries, follow the instructions below:

  1. Edit the /etc/ld.so.conf.d/novell-NDSbase.conf file as follows:

    • Replace/opt/novell/eDirectory/lib with/opt/novell/eDirectory/lib64.

    • Replace /opt/novell/eDirectory/lib/nds-modules with/opt/novell/eDirectory/lib64/nds-modules.

    • Add /opt/novell/lib64 at the end of the file.

  2. Run the ldconfigcommand.

  3. Restart the eDirectory services by using the/etc/init.d/ndsd restart command.

This information can be found in the documentation following the link below:


Additional Information

The eDirectory version prior to upgrade is, which doesn't support 64 bit systems.  During the upgrade, eDirectory version 8.8.3 is installed which supports 64 bit systems, however the file /etc/ld.so.conf.d/novell-NDSbase.conf is not updated correctly to point to the 64 bit libraries.