Page 1 of 1

ImportError libpython2.6.so.1.0

Published: August 21, 2014 - 11:37
by sfonteneau
Hello everyone.

I'm posting here because I don't know which section to post in.

I just installed Samba4 4.1.11 on Ubuntu 14.04.1 LTS.

I'm having a problem during provisioning;

samba-tool tells me:

Traceback (most recent call last):
File "/usr/local/samba/bin/samba-tool", line 33, in
from samba.netcmd.main import cmd_sambatool
File "/usr/local/samba/lib/python2.7/site-packages/samba/__init__.py", line 27, in
import samba.param
ImportError: libpython2.6.so.1.0: cannot open shared object file: No such file or directory


Any ideas?

Simon

Re: ImportError libpython2.6.so.1.0

Published: August 21, 2014 - 12:15
by sfonteneau
I'm replying to myself.

I found a solution, but I don't think it's the cleanest or most recommended:

I created a symbolic link from the 2.7 library to 2.6 using

`ln -sf /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 /usr/lib/x86_64-linux-

We'll see if this is a long-term solution.

Simon