missing libmemcache.so for samba.samba3 python module

Bug #889864 reported by Claudio Luck
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This is on Ubuntu Precise 12.04

python-samba:
  Installed: 4.0.0~alpha17.dfsg1-2
  Candidate: 4.0.0~alpha17.dfsg1-2
  Version table:
 *** 4.0.0~alpha17.dfsg1-2 0
        500 http://ch.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status
samba4-common-bin:
  Installed: 4.0.0~alpha17.dfsg1-2
  Candidate: 4.0.0~alpha17.dfsg1-2
  Version table:
 *** 4.0.0~alpha17.dfsg1-2 0
        500 http://ch.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

Running samba-tool refuses to do anything useful by an ImportError for missing libmemcache.so

Looks like this library is provided as libmemcache.so.0.4.0 in libmemcache0 and as libmemcache.so in libmemcache-dev.
libmemcache0 has no /usr/lib/libmemcache.so

Traceback (most recent call last):
  File "/usr/sbin/samba-tool", line 30, in <module>
    from samba.netcmd.domain import cmd_domain
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 44, in <module>
    from samba.samba3 import Samba3
  File "/usr/lib/python2.7/dist-packages/samba/samba3/__init__.py", line 29, in <module>
    import passdb
ImportError: libmemcache.so: cannot open shared object file: No such file or directory

My workaroung is to manually install libmemcache-dev for now.

Claudio Luck (cluck)
description: updated
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

We'll need to package the private memcache library that's included in Samba. libmemcache-dev is a completely different library, so while it may satisfy the linker, you'll most likely run into other issues if something in Samba actually tries to use it.

Changed in samba4 (Ubuntu):
status: New → Triaged
summary: - missing libmemcache.so for samba-tool in samba4-common-bin
+ missing libmemcache.so for samba.samba3 python module
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package samba4 - 4.0.0~alpha17.dfsg2-1

---------------
samba4 (4.0.0~alpha17.dfsg2-1) unstable; urgency=low

  * Remove more non-free IETF files. Closes: #547280
  * Rebuild for newer version of ldb.

 -- Jelmer Vernooij <email address hidden> Sat, 03 Dec 2011 01:41:49 +0100

Changed in samba4 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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