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

Re: RE24 testing call (2.4.43)

Le 03/12/2015 23:19, Howard Chu a écrit :
Jephte Clain wrote:
Le 03/12/2015 16:36, Jephte Clain a écrit :
Le 11/11/2015 20:28, Quanah Gibson-Mount a écrit :
If you know how to build OpenLDAP manually, and would like to participate
in testing the next set of code for the 2.4.43 release, please do so.

Generally, get the code for RE24:


Configure & build.

Execute the test suite (via make test) after it is built.



I'm a bit late (sorry), and version 2.4.43 is already out, but for your
information, I cannot run with lmdb on debian squeeze lts:

$ ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc
--localstatedir=/var --mandir=/usr/share/man --enable-debug --enable-dynamic
--enable-syslog --enable-proctitle --enable-ipv6 --enable-local
--enable-slapd --enable-dynacl --enable-aci --enable-cleartext
--enable-crypt --disable-lmpasswd --enable-spasswd --enable-modules
--enable-rewrite --enable-rlookups --enable-slapi --enable-slp
--enable-wrappers --enable-backends=mod --disable-ndb --enable-overlays=mod
--with-subdir=ldap --with-cyrus-sasl --with-threads --with-tls=openssl
$ make depend
$ make
$ sudo make install

# /usr/sbin/slapd -h 'ldap:/// ldapi:///' -F /etc/ldap/slapd.d -d -1
56603630 backend_startup_one: starting "cn=modiflog"
56603630 mdb_db_open: "cn=modiflog"
56603630 mdb_db_open: database "cn=modiflog":
/usr/sbin/slapd: symbol lookup error: /usr/lib/ldap/back_mdb-2.4.so.2:
undefined symbol: pthread_mutexattr_setrobust

I'll start digging in the openldap changelog tomorrow to try to understand what is causing this, but in the mean time can someone shed the light on this?
is this expected? are the libs on debian squeeze too old?

thank in advance. best regards,
Jephté CLAIN

A little followup before I have to go:

reading libraries/liblmdb/CHANGES, I see that LMDB added robust mutex support and libraries/liblmdb/mdb.c says: /* Android currently lacks Robust Mutex
support. So does glibc < 2.4. */
and: /* glibc < 2.10 only provided _np API */

$ ldd --version
ldd (Debian EGLIBC 2.11.3-4+deb6u8) 2.11.3

I guess this version does not support robust mutex either?

I'll have to try with -DMDB_USE_ROBUST=0 or -DMDB_USE_SYSV_SEM tomorrow
which one is better? I mean, if I disable robust mutex support, am I regarding mutex support featurewise the same as 2.4.41 (the version I have installed in
production) or should I try  SysV semaphores?

As you have guessed, I lack expertise to make a good decision in this area

Thanks in advance for any advices. best regards,
Jephté CLAIN

ITS#8330 was filed on this same issue. A fix is now in git.

thank you very much
patch applied, it works now :-)

have a nice day, best regards,
Jephté CLAIN

*Jephté CLAIN | Développeur, Intégrateur d'applications*
Service Systèmes d'Information
Direction des Systèmes d'Information <http://dsi.univ-reunion.fr>
Tél: +262 262 93 86 31 <tel:+262262938631> || Gsm: +262 692 29 58 24 <tel:+262692295824> www.univ-reunion.fr <http://www.univ-reunion.fr> || Facebook <http://www.facebook.com/pages/Universit%C3%A9-de-La-R%C3%A9union-OFFICIEL/197176816990430> || Twitter <http://twitter.com/univ_reunion>