Library dependencies

Neal H. Walfield neal@cs.uml.edu
Sun Nov 17 16:28:02 2002


> Unfortunately, OpenLDAP is terrible about changing their
> dependencies every other release.  Until they start providing a
> "openldap-config" script or similar (I donated one a month or two
> ago), people are going to have to juggle the dependencies by hand via
> LDAPLIBS for everything but the simplest LDAP configuration.  This is
> in the NEWS file, incidentally.

This is the wrong approach.  Library dependencies on elf based systems
can be expressed via a DT_NEEDED in the library itself; it is not the
application's responsibility to determine which libraries a library
depends on.