Description of problem:
The taroon beta uses ldap version 2.0.27-9. With this version
the re-rentrant open ldap library /usr/lib/libldap_r.so is built
in such a way that the following functions are not exported
The standard library /usr/lib/libldap.so is fine.
This can be seen by doing
%nm -D /usr/lib/libldap.so | grep ldap_count_messages
0000000000023a30 T ldap_count_messages
%nm -D /usr/lib/libldap_r.so | grep ldap_count_messages
This is a problem with the OpenLDAP build process. OpenLDAP
has corrected this with version 2.1.22
However it is unlikely at this late stage that Red Hat
will use OpenLDAP 2.1.22 for Enterprise Linux 3.0
We are hoping that Red Hat could fix the OpenLDAP
2.0.27-9 build process. The fix is very simple.
Before doing a configure the file
should be edited.
Line 14 should change from
bind.c controls.c open.c result.c error.c compare.c search.c \
bind.c controls.c messages.c references.c open.c result.c error.c compare.c
Line 30 should change from
bind.lo controls.lo open.lo result.lo error.lo compare.lo search.lo \
bind.lo controls.lo messages.lo references.lo open.lo result.lo error.lo
compare.lo search.lo \
Basically what is happening is that "messages" and "references" is
being added. With this minor change to the makefile.in file a
configure,make... build process will now generate a libldap_r.so
file that correctly exports all required ldap functionality.
With this minor change a correct re-entrant library will be generated.
If this fix could be done for EL 3.0 that would be fantastic.
Looks reasonable. Changing for 2.0.27-11.
Thanks Nalin. This bug item can be closed.