[Pkg-samba-maint] Bug#677636: samba4: fails to install - libsecurity.so not found

R. Scott Bailey scott at cartasoft.com
Fri Jun 15 15:17:24 UTC 2012

Package: samba4
Version: 4.0.0~beta1+dfsg1-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I recently attempted to install the samba4 package on my system; this fails
persistently with the following output:

Setting up samba4 (4.0.0~beta1+dfsg1-1) ...
Traceback (most recent call last):
  File "/usr/share/samba/setup/provision", line 33, in <module>
    import samba
  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 50, in <module>
    from samba._ldb import Ldb as _Ldb
ImportError: /usr/lib/x86_64-linux-gnu/samba/libsecurity.so: version `SAMBA_4.0.0ALPHA17' not found (required by /usr/local/samba/lib/libsamba-credentials.so.0)
dpkg: error processing samba4 (--configure):
 subprocess installed post-installation script returned error exit status 1

Repeated attempts (unsurprisingly) fail the same way. I see that the
libsecurity.so library actually exists and is provided by libndr-standard0
referenced below, but evidently it is not a pleasing version. ;-)

I am clueless on how to proceed but happy to test if there is any guidance
to be found.

scott at cartasoft.com

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable'), (500, 'stable-updates'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba4 depends on:
ii  debconf [debconf-2.0]  1.5.43
ii  libasn1-8-heimdal      1.6~git20120403+dfsg1-2
ii  libattr1               1:2.4.46-8
ii  libbsd0                0.4.0-1
ii  libc6                  2.13-33
ii  libcomerr2             1.42.2-2
ii  libdcerpc-server0      4.0.0~beta1+dfsg1-1
ii  libdcerpc0             4.0.0~beta1+dfsg1-1
ii  libgensec0             4.0.0~beta1+dfsg1-1
ii  libhdb9-heimdal        1.6~git20120403+dfsg1-2
ii  libkdc2-heimdal        1.6~git20120403+dfsg1-2
ii  libkrb5-26-heimdal     1.6~git20120403+dfsg1-2
ii  libldb1                1:1.1.6-1
ii  libndr-standard0       4.0.0~beta1+dfsg1-1
ii  libndr0                4.0.0~beta1+dfsg1-1
ii  libpopt0               1.16-7
ii  libpython2.7           2.7.3~rc2-2.1
ii  libroken18-heimdal     1.6~git20120403+dfsg1-2
ii  libsamba-credentials0  4.0.0~beta1+dfsg1-1
ii  libsamba-hostconfig0   4.0.0~beta1+dfsg1-1
ii  libsamba-util0         4.0.0~beta1+dfsg1-1
ii  libsamdb0              4.0.0~beta1+dfsg1-1
ii  libsmbclient-raw0      4.0.0~beta1+dfsg1-1
ii  libtalloc2             2.0.7+git20120207-1
ii  libtdb1                1.2.10-2
ii  libtevent0             0.9.15-2
ii  python                 2.7.2-10
ii  python-dnspython       1.10.0-1
ii  python-samba           4.0.0~beta1+dfsg1-1
ii  samba-dsdb-modules     4.0.0~beta1+dfsg1-1
ii  samba4-common-bin      4.0.0~beta1+dfsg1-1
ii  tdb-tools              1.2.10-2

Versions of packages samba4 recommends:
ii  attr        1:2.4.46-7
ii  bind9       1:9.8.1.dfsg.P1-4
ii  bind9utils  1:9.8.1.dfsg.P1-4
ii  ldb-tools   1:1.1.6-1

Versions of packages samba4 suggests:
pn  phpldapadmin  <none>
pn  samba-gtk     <none>
pn  swat2         <none>

-- debconf information:
  samba4/upgrade-from-v3: true
* samba4/server-role: domain controller
* samba4/realm: BAILEY

More information about the Pkg-samba-maint mailing list