sssd_be missing shlib deps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sssd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sssd
on lucid I have this:
nexus6 sssd # ldd -r /usr/lib/
libldb.so.0 => /usr/lib/
librt.so.1 => /lib/librt.so.1 (0x00007f21e3c4
libnss3.so => /usr/lib/libnss3.so (0x00007f21e36e
libssl3.so => /usr/lib/libssl3.so (0x00007f21e306
libplds4.so => /usr/lib/
libplc4.so => /usr/lib/libplc4.so (0x00007f21e2c5
libnspr4.so => /usr/lib/
libdl.so.2 => /lib/libdl.so.2 (0x00007f21e25f
libc.so.6 => /lib/libc.so.6 (0x00007f21e207
libtdb.so.1 => /usr/lib/
while on Fedora it looks like this:
[sgallagh@sgallagh ~]$ ldd /usr/libexec/
linux-vdso.so.1 => (0x00007fffb45a
libtalloc.so.2 => /usr/lib64/
libtevent.so.0 => /usr/lib64/
libpopt.so.0 => /lib64/libpopt.so.0 (0x000000348ce0
libldb.so.0 => /usr/lib64/
libdbus-1.so.3 => /lib64/
librt.so.1 => /lib64/librt.so.1 (0x000000347ea0
libpcre.so.0 => /lib64/libpcre.so.0 (0x000000348c60
libssl3.so => /usr/lib64/
libsmime3.so => /usr/lib64/
libnss3.so => /usr/lib64/
libfreebl3.so => /usr/lib64/
libnssdbm3.so => /usr/lib64/
libsoftokn3.so => /usr/lib64/
libnssutil3.so => /usr/lib64/
libplds4.so => /lib64/libplds4.so (0x000000348d20
libplc4.so => /lib64/libplc4.so (0x000000348da0
libnspr4.so => /lib64/libnspr4.so (0x000000348de0
libpthread.so.0 => /lib64/
libdl.so.2 => /lib64/libdl.so.2 (0x000000347da0
libcares.so.2 => /usr/lib64/
libc.so.6 => /lib64/libc.so.6 (0x000000347d60
libtdb.so.1 => /usr/lib64/
liblber-2.4.so.2 => /usr/lib64/
libldap-2.4.so.2 => /usr/lib64/
libcap-ng.so.0 => /lib64/
/lib64/
libsqlite3.so.0 => /usr/lib64/
libresolv.so.2 => /lib64/
libsasl2.so.2 => /usr/lib64/
libssl.so.10 => /usr/lib64/
libcrypto.so.10 => /usr/lib64/
libcrypt.so.1 => /lib64/
libgssapi_
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x000000380900
libcom_err.so.2 => /lib64/
libk5crypto.so.3 => /lib64/
libz.so.1 => /lib64/libz.so.1 (0x000000347e20
libkrb5support
libkeyutils.so.1 => /lib64/
libselinux.so.1 => /lib64/
and the result is this:
nexus6 sssd-1.0.2 # sssd -d1
[sssd] [confdb_
[sssd[be[AALTO]]] [confdb_
[sssd[be[AALTO]]] [load_backend_
[sssd[be[AALTO]]] [be_process_init] (0): fatal error initializing data providers
[sssd[be[AALTO]]] [main] (0): Could not initialize backend [79]
[sssd] [global_
so something (ubuntu build defaults?) breaks the build...
actually, that output is wrong, the real bug was in libsss_krb5.so missing shlib deps. Here's a patch from upstream which fixed that:
From f24e0a6791fbf27 3109b03661665ca 2896b37b0a Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <email address hidden>
Date: Wed, 20 Jan 2010 14:36:34 -0500
Subject: [PATCH] Add missing link for Kerberos
---
server/Makefile.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/server/ Makefile. am b/server/ Makefile. am Makefile. am Makefile. am krb5_la_ CFLAGS = \ DHASH_CFLAGS) krb5_la_ LIBADD = \ krb5_la_ LDFLAGS = \
index 100189d..7ba7ffa 100644
--- a/server/
+++ b/server/
@@ -636,7 +636,8 @@ libsss_
$(AM_CFLAGS) \
$(
libsss_
- $(DHASH_LIBS)
+ $(DHASH_LIBS) \
+ $(KRB5_LIBS)
libsss_
-version-info 1:0:0 \
-module
--
1.6.6