Francis Swasey | 2 Oct 22:20
Favicon

openldap 2.4.11 and test018

I have been driving myself nuts today.  I'm attempting to move to using DB 4.6.21 (plus the three patches) and have discovered (probably re-discovered) that building the backends as modules and then attempting to run "make tests" causes test018 to fail because  bdb-mod can't resolve ldap_modify_ext.

I can't find anything documented concerning this (README, INSTALL documents, FAQ, google search).  But if I remove "--enable-modules" from the configure options, test018 runs just fine.

Am I really this unique or have I missed some prominent statement that backend modules can not be tested?

If it matters, I'm compiling on Red Hat Enterprise Linux Server release 5.2 (Tikanga).
-- -- Frank Swasey | http://www.uvm.edu/~fcs Sr Systems Administrator | Always remember: You are UNIQUE, University of Vermont | just like everyone else. "I am not young enough to know everything." - Oscar Wilde (1854-1900)

Re: openldap 2.4.11 and test018

--On Thursday, October 02, 2008 4:20 PM -0400 Francis Swasey 
<Frank.Swasey <at> uvm.edu> wrote:

> I have been driving myself nuts today.  I'm attempting to move to using
> DB 4.6.21 (plus the three patches) and have discovered (probably
> re-discovered) that building the backends as modules and then attempting
> to run "make tests" causes test018 to fail because  bdb-mod can't resolve
> ldap_modify_ext.
>
> I can't find anything documented concerning this (README, INSTALL
> documents, FAQ, google search).  But if I remove "--enable-modules" from
> the configure options, test018 runs just fine.
>
> Am I really this unique or have I missed some prominent statement that
> backend modules can not be tested?

Modular builds work for me, just fine.  The tests work just fine for me too.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Howard Chu | 2 Oct 23:13

Re: openldap 2.4.11 and test018

Francis Swasey wrote:
> I have been driving myself nuts today.  I'm attempting to move to using
> DB 4.6.21 (plus the three patches) and have discovered (probably
> re-discovered) that building the backends as modules and then attempting
> to run "make tests" causes test018 to fail because bdb-mod can't resolve
> ldap_modify_ext.
>
> I can't find anything documented concerning this (README, INSTALL
> documents, FAQ, google search). But if I remove "--enable-modules" from
> the configure options, test018 runs just fine.
>
> Am I really this unique or have I missed some prominent statement that
> backend modules can not be tested?

No, this comes up from time to time and we've just never bothered to document 
it besides mentioning it on the -devel list.

It's not a problem with the bdb module, but with the back-ldap module. The 
solution is to make sure slapd is linked against the shared libldap; by 
default it's linked statically.

One could argue that this is a bug in the slapd Makefile; at some point in the 
past everything worked fine and then after a couple updates to libtool etc. 
the problem started cropping up. It hasn't been a big enough problem to 
warrant deeper investigation.

> If it matters, I'm compiling on Red Hat Enterprise Linux Server release
> 5.2 (Tikanga).

--

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/


Gmane