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

Re: RE24 testing call (2.4.43)



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:

<http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=snapshot;h=refs/heads/OPENLDAP_REL_ENG_2_4;sf=tgz>


Configure & build.

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

Thanks!

Hello,

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
--with-odbc=unixodbc
$ 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":
dbenv_open(/var/lib/ldap/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 */
but:

$ 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.

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