missing libmemcache.so for samba.samba3 python module
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.
Candidate: 4.0.0~alpha17.
Version table:
*** 4.0.0~alpha17.
500 http://
100 /var/lib/
samba4-common-bin:
Installed: 4.0.0~alpha17.
Candidate: 4.0.0~alpha17.
Version table:
*** 4.0.0~alpha17.
500 http://
100 /var/lib/
Running samba-tool refuses to do anything useful by an ImportError for missing libmemcache.so
Looks like this library is provided as libmemcache.
libmemcache0 has no /usr/lib/
Traceback (most recent call last):
File "/usr/sbin/
from samba.netcmd.domain import cmd_domain
File "/usr/lib/
from samba.samba3 import Samba3
File "/usr/lib/
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.
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.