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

Re: olcDbURI error



Quoting Pierangelo Masarati <masarati@aero.polimi.it>:

That patch was never committed because the reporter of ITS#6540 said his initial report was not actually relevant for the real issue he was suffering from. Please try that patch and report about its effect; I'll be glad to commit it if it is useful.

I'd be happy to do that, but regardless of whether your patch is applied or not, the compile process errors out like this:

#########################################
...
  Entering subdirectory liblber
make[3]: Entering directory `/root/openldap-2.4.23/debian/build/libraries/liblber'
rm -f version.c
/root/openldap-2.4.23/build/mkversion -v "2.4.23" liblber.la > version.c
/bin/sh ../../libtool --mode=compile cc -Wall -g -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -O2 -I../../include -I/root/openldap-2.4.23/include -DLBER_LIBRARY -c /root/openldap-2.4.23/libraries/liblber/assert.c
../../libtool: line 460: CDPATH: command not found
../../libtool: line 1138: func_opt_split: command not found
libtool: Version mismatch error. This is libtool 2.2.6b Debian-2.2.6b-2, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b Debian-2.2.6b-2
libtool: and run autoconf again.
make[3]: *** [assert.lo] Error 63
make[3]: Leaving directory `/root/openldap-2.4.23/debian/build/libraries/liblber'
make[2]: *** [all-common] Error 1
make[2]: Leaving directory `/root/openldap-2.4.23/debian/build/libraries'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/root/openldap-2.4.23/debian/build'
make: *** [build-stamp] Error 2
root@ldaps2:~/openldap-2.4.23# _
#########################################

A bit of searching gives me the impression that this compile error is not unique to OpenLDAP. I thought of downgrading libtool, but the current version for squeeze hasn't been updated since December 2009.

Does anyone have a fix, patch or workaround for this problem?

Cheers,

Jaap