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

Re: backend modules

On Sat, Aug 07, 1999 at 02:46:33AM -0700, Howard Chu wrote:
> OK. I've tested out static and dynamic builds for all of the backends except
> bdb2. The install rules now use $libexecdir/$ldap_subdir for installing the
> dynamic backends. I originally set up the build with libltdl copied into the
> OpenLDAP source tree, but that was a real pain to get configured properly.
> Now I just rely on libltdl already being installed on default search paths.
> It seems this is OK since we already require libtool 1.3.3 to be installed
> on the build system.

No, libtool is not a requirement for compiling the source.

Run libtoolize --help and you will see an option to make it copy
libltdl into the source tree. Then just add these into configure.in

dnl Must come before the other libtool macros

Then @LIBTLDL@ should be added to the list of libs that slapd links
against. This gives the configure script several options, a) use the
included libltdl, b) use a version already installed on the system.