[Pkg-samba-maint] Bug#705908: Bug#705908: libsamba-credentials.so.0.0.1 links libdbwrap.so but libsamba-credentials0 missing dep on python-samba

Andrew Bartlett abartlet at samba.org
Fri Jun 21 07:29:38 UTC 2013


On Thu, 2013-06-20 at 21:33 +0200, Raphael Hertzog wrote:
> Control: severity 705908 serious
> 
> On Mon, 22 Apr 2013, Paul Wise wrote:
> > Package: libsamba-credentials0
> > Version: 4.0.3+dfsg1-0.1
> > Severity: important
> > 
> > This bug should probably be upgraded to serious but I'm not sure.
> 
> I think that I agree. I stumbled on it because winexe failed to
> configure because linking with libsamba-credentials0 did not work out:
> 
> ['/usr/bin/gcc', 'test.c.1.o', '-o', '/build/winexe-v9pVVt/winexe-1.1~20130620/source/build/.conf_check_8c42439781f5a6c56baf7f8b9c378202/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lib/x86_64-linux-gnu/samba', '-lcli-ldap']
> err: /usr/bin/ld: warning: libdbwrap.so, needed by /usr/lib/x86_64-linux-gnu/libsamba-credentials.so.0, not found (try using -rpath or -rpath-link)
> /usr/lib/x86_64-linux-gnu/libsamba-credentials.so.0: undefined reference to `dbwrap_fetch at SAMBA_4.0.6_DEBIAN'
> /usr/lib/x86_64-linux-gnu/libsamba-credentials.so.0: undefined reference to `dbwrap_local_open at SAMBA_4.0.6_DEBIAN'
> collect2: error: ld returned 1 exit status
> 
> (I'm using the package from git in branch samba_4.0 but it's the same)
> 
> I worked around it by adding a fake build-depends on python-samba.

dbwrap*.so is now in samba-common-bin.  The issue is that this almost
certainly depends on the credentials library, so we may need yet another
library package, or to re-consider if this should be a distinct package
at all. 

The issue of dependencies between these packages is something that will
only improve with a lot of work, so any assistance you can give would be
most welcome, it is series and isn't a trivial issue to fix.

Certainly fixing it in unstable seems unlikely except for migration of
the soon to be experimental package from samba_4.0, so that is where the
effort needs to be made.

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the Pkg-samba-maint mailing list