Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-0519: Dependent module /usr/lib/libldap.a( could not be loaded

Authentication Service ,  

12 April,16 at 11:40 AM


While installing DirectControl, an error message very similar to the following appears:

Could not load program /usr/sbin/adclient:

Dependent module /usr/lib/libldap.a( could not be loaded. File /usr/lib/libldap.a is not an archive or the file could not be read properly. System error: Exec format error

The above error message also occurs when running DirectControl commands such as “adinfo”.


IBM Tivoli Manager is installed on the machine which installs libldap.a in /usr/lib and links it to (for example) /opt/IBM/ldap/V6.0/lib/libidsldap.a. You can run “ldd /usr/sbin/adclient | grep libldap.a” which will return the path to the library that adclient needs to use, which is in /usr/share/centrifydc/lib.

An additional factor that causes this problem is that /usr/lib is set to come first in the list of paths so adclient obtains the wrong libldap.a in /usr/lib.


1. Change the library path *for each* specific command: LIBPATH=/usr/share/centrifydc/lib:$LIBPATH adinfo


2. Tivoli Manager may have been installed on this machine a very long time ago, and so there is a small possibility that you no longer need Tivoli Manager on this machine. If you determine this to be the case, you can resolve this problem by simply uninstalling it,


remove the /usr/lib/libldap.a library and then create a libldap.a symlink in /usr/lib to /usr/share/centrifydc/lib/libldap.a.