Seite 1 von 1

ImportError libpython2.6.so.1.0

Veröffentlicht: 21. August 2014 - 11:37 Uhr
von Sfonteneau
Hallo zusammen.

Ich poste hier, weil ich nicht weiß, in welchem ​​Bereich ich posten soll.

Ich habe gerade Samba4 4.1.11 auf Ubuntu 14.04.1 LTS installiert.

Beim Provisioning tritt ein Problem auf;

samba-tool meldet folgenden Fehler:

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
beim Import von samba.param
: libpython2.6.so.1.0: Die Datei oder das Verzeichnis konnte nicht geöffnet werden. Hat jemand


eine Idee?

Simon

Betreff: ImportError libpython2.6.so.1.0

Veröffentlicht: 21. August 2014 - 12:15 Uhr
von Sfonteneau
Ich antworte mir selbst. Ich habe eine Lösung gefunden, aber ich glaube nicht, dass sie die eleganteste oder empfehlenswerteste ist: Ich habe einen symbolischen Link von der 2.7er Bibliothek zur 2.6er Bibliothek mit `ln -sf /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 /usr/lib/x86_64-linux -gnu/libpython2.6.so.1.0` erstellt . Mal sehen, ob das eine dauerhafte Lösung ist. Simon