On Fri, Apr 03, 2009 at 04:32:02PM -0700, Russ Allbery wrote:
> Kurt Roeckx <[email protected]> writes:
>
> > Your package is failing to build with the following error:
> > checking for ldap.h... (cached) yes
> > checking for lber.h... (cached) yes
> > checking for ldap_init in -lldap... no
> > configure: WARNING: libldap not found
> > configure: error: "LDAP libraries missing - skipping LDAP database
> > module"
> > configure: error: /bin/sh
> > '../../../../../src/plugins/kdb/ldap/libkdb_ldap/configure' failed for
> > plugins/kdb/ldap/libkdb_ldap
> > make: *** [configure-stamp] Error 1
>
> Hm, the package Build-Depends on libldap2-dev and has built on every
> architecture other than amd64.
>
> Do you have the config.log output handy for this sub-configure script?
> I'd like to see what the error message was when attempting to link with
> libldap.
This might be related to sudo failing with this message:
/usr/bin/ld: warning: libgssapi_krb5.so.2, needed by
/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib/libldap.so, not found (try
using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib/libldap.so: undefined
reference to `gss_release_n...@gssapi_krb5_2_mit'
[...]
I think one of the buildd's chroots isn't properly updates, and
you get that error. It builds fine on the other buildd.
This reminds me of #518632, which also magicly dissapeared with
upgrading everything to the latest version.
Checking here, I see:
objdump -p /usr/lib/libldap.so |grep krb5
NEEDED libgssapi_krb5.so.2
required from libgssapi_krb5.so.2:
0x0dbcc034 0x00 09 gssapi_krb5_2_MIT
That's with libldap-2.4-2 2.4.15-1. libldap-2.4-2 itself does not
depend on libgssapi-krb5-2, but it depends on libkrb53 (>=
1.6.dfsg.2) and libkrb53 in turn depends on libgssapi-krb5-2.
If this is intentional, maybe libldap-2.4-2 should depend on a
higher version of libkrb53 instead.
Kurt
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]