[Date Prev][Date Next] [Chronological] [Thread] [Top]

libbackends.a is not built in full dynamic builds (ITS#2065)

Full_Name: Peter Marschall
Version: 2.1.4
OS: Linux 2.4.x
Submission from: (NULL) (

Having configured OpenLDAP 2.1.4 with --enable-...-module=dynamic for all
compilation of slapd fails due to failed dependencies:
libbackends.a, that is a dependency of some programs in servers/slapd and
servers/slapd/tools has not been built.

As a workaround I removed any occurrences of libbackends.a from Makefiles
ins servers/slapd and servers/slapd/tools after the configuration phase
using the command

  perl -i -p -e 's/\S*libbackends.a//g' \
       servers/slapd/Makefile servers/slapd/tools/Makefile

After this step - although it might be a dirty trick - compilation works
fine, and slapd works too with the modules I have tested so far !