missing dependency on libwbclient.so

Bug #714344 reported by Frank on 2011-02-07
176
This bug affects 20 people
Affects Status Importance Assigned to Milestone
samba4 (Debian)
Fix Released
Unknown
samba4 (Ubuntu)
Medium
Jelmer Vernooij

Bug Description

Binary package hint: samba4

root@srv42:~# dpkg --pending --configure
samba4 (4.0.0~alpha15~git20110124.dfsg1-2) wird eingerichtet ...
 * Starting Samba 4 daemon samba /usr/sbin/samba: error while loading shared libraries: libwbclient.so: cannot open shared object file: No such file or directory
                                                                         [fail]
invoke-rc.d: initscript samba4, action "start" failed.
dpkg: Fehler beim Bearbeiten von samba4 (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 samba4
root@srv42:~# lsb_release -rd
Description: Ubuntu natty (development branch)
Release: 11.04
root@srv42:~# apt-cache policy samba4
samba4:
  Installiert: 4.0.0~alpha15~git20110124.dfsg1-2
  Kandidat: 4.0.0~alpha15~git20110124.dfsg1-2
  Versionstabelle:
 *** 4.0.0~alpha15~git20110124.dfsg1-2 0
        500 http://de.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
        100 /var/lib/dpkg/status
root@srv42:~#

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: samba4 4.0.0~alpha15~git20110124.dfsg1-2
ProcVersionSignature: Ubuntu 2.6.38-1.28-server 2.6.38-rc2
Uname: Linux 2.6.38-1-server x86_64
Architecture: amd64
Date: Mon Feb 7 01:48:14 2011
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Alpha amd64 (20110201.2)
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: samba4

Related branches

Frank (frank-skorczyk) wrote :
Micah Gersten (micahg) wrote :

Thank you for your bug report. This bug has been reported to the maintainers of the software. You can track it and make comments at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611214
Please report any other issues you may find.

Changed in samba4 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
siucdude (siucdude) wrote :

I got past the problem by doing.
cp /usr/lib/libwbclient.so.0 /usr/lib/libwbclient.so
It still generated errors but Samba4 seems to work for testing now.
hope this helps someone.
TJ

Changed in samba4 (Debian):
status: Unknown → New
Jelmer Vernooij (jelmer) on 2011-02-22
Changed in samba4 (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
Changed in samba4 (Debian):
status: New → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package samba4 - 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1

---------------
samba4 (4.0.0~alpha15~git20110124.dfsg1-2ubuntu1) natty; urgency=low

  * Add missing dependency on python-samba, required for testparm. LP: #641082
  * Add 03_wbclient.diff: Use system-packaged libwbclient.
   + Back out the new 'dc-info' command in wbinfo as libwbclient0 lacks some
     required symbols.
   + Solves unable to load libwbclient.so.0 errors. LP: #714344
  * Make sure /var/run/samba exists. LP: #646037
  * Add 04_setlocale.diff: Cherry-pick upstream fix to avoid setlocale() calls
    when used as a library. LP: #519025, #519025
  * Use system ldb headers so modules get built with the system ldb version.
 -- Jelmer Vernooij <email address hidden> Sun, 27 Feb 2011 18:06:26 +0100

Changed in samba4 (Ubuntu):
status: In Progress → Fix Released
Pierre Slamich (pierre-slamich) wrote :

Still an issue for me.

Mad Maks (mad.maks) wrote :
Download full text (7.3 KiB)

still a issue:

Gtk-CRITICAL **: IA__gtk_assistant_set_page_header_image: assertion `child != NULL' failed at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 27, <> line 1.
(Reading database ... 230698 files and directories currently installed.)
Preparing to replace samba4-common-bin 4.0.0~alpha15~git20110124.dfsg1-2ubuntu1 (using .../samba4-common-bin_4.0.0~alpha15~git20110124.dfsg1-2ubuntu1_all.deb) ...
Unpacking replacement samba4-common-bin ...
Setting up samba4-common-bin (4.0.0~alpha15~git20110124.dfsg1-2ubuntu1) ...
Setting up samba4 (4.0.0~alpha15~git20110124.dfsg1-2ubuntu1) ...
Gtk-CRITICAL **: IA__gtk_assistant_set_page_header_image: assertion `child != NULL' failed at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 27.
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "passdb backend"
Ignoring unknown parameter "passdb backend"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "max log size"
Ignoring unknown parameter "max log size"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "passdb backend"
Ignoring unknown parameter "passdb backend"
Unknown parameter encountered: "unix password sync"
Ignoring unknown parameter "unix password sync"
Unknown parameter encountered: "passwd program"
Ignoring unknown parameter "passwd program"
Unknown parameter encountered: "pam password change"
Ignoring unknown parameter "pam password change"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
ldb: unable to stat module /usr/lib/samba/ldb/modules/samba : No such file or directory
ldb: failed to initialise module /usr/lib/samba/ldb/modules/samba : Unavailable
ldb: failed to initialise module /usr/lib/samba/ldb/modules : Unavailable
WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
Unable to load modules for /var/lib/samba/private/sam.ldb: Failed to load modules from: /usr/lib/samba/ldb

Traceback (most recent call last):
  File "/usr/share/samba/setup/upgradeprovision", line 1597, in <module>
    ldbs = get_ldbs(paths, creds, session, lp)
  File "/usr/lib/python2.7/dist-packages/samba/upgradehelpers.py"...

Read more...

Mad Maks (mad.maks) wrote :

remove and then reinstall fix the problem

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.