Wrong dependency for wammu
Posted: 27. Sep 2010, 16:40
I have installed wammu successfully but on running it I get the following error messages:
david[~]$ wammu
Traceback (most recent call last):
File "/usr/bin/wammu", line 170, in <module>
import Wammu.App
File "/usr/lib/python2.6/site-packages/Wammu/App.py", line 28, in <module>
import Wammu.Main
File "/usr/lib/python2.6/site-packages/Wammu/Main.py", line 58, in <module>
import Wammu.Editor
File "/usr/lib/python2.6/site-packages/Wammu/Editor.py", line 36, in <module>
import Wammu.Data
File "/usr/lib/python2.6/site-packages/Wammu/Data.py", line 28, in <module>
from gammu.Data import Connections, MemoryValueTypes, CalendarTypes, CalendarValueTypes, TodoPriorities, TodoValueTypes, InternationalPrefixes
File "/usr/lib/python2.6/site-packages/gammu/__init__.py", line 39, in <module>
from gammu._gammu import *
ImportError: libbluetooth.so.2: cannot open shared object file: No such file or directory
david[~]$
So it looks like it is looking for the wrong version of libbluetooth (amongst other things).
The version of libbluetooth installed is:
root[bluetooth]# slocate libbluetooth.so
/usr/lib/libbluetooth.so.3
/usr/lib/libbluetooth.so
/usr/lib/libbluetooth.so.3.7.0
root[bluetooth]#
Any ideas how to fix this ?
Thanks.
david[~]$ wammu
Traceback (most recent call last):
File "/usr/bin/wammu", line 170, in <module>
import Wammu.App
File "/usr/lib/python2.6/site-packages/Wammu/App.py", line 28, in <module>
import Wammu.Main
File "/usr/lib/python2.6/site-packages/Wammu/Main.py", line 58, in <module>
import Wammu.Editor
File "/usr/lib/python2.6/site-packages/Wammu/Editor.py", line 36, in <module>
import Wammu.Data
File "/usr/lib/python2.6/site-packages/Wammu/Data.py", line 28, in <module>
from gammu.Data import Connections, MemoryValueTypes, CalendarTypes, CalendarValueTypes, TodoPriorities, TodoValueTypes, InternationalPrefixes
File "/usr/lib/python2.6/site-packages/gammu/__init__.py", line 39, in <module>
from gammu._gammu import *
ImportError: libbluetooth.so.2: cannot open shared object file: No such file or directory
david[~]$
So it looks like it is looking for the wrong version of libbluetooth (amongst other things).
The version of libbluetooth installed is:
root[bluetooth]# slocate libbluetooth.so
/usr/lib/libbluetooth.so.3
/usr/lib/libbluetooth.so
/usr/lib/libbluetooth.so.3.7.0
root[bluetooth]#
Any ideas how to fix this ?
Thanks.