Wrong dependency for wammu

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
vovim
Posts: 2
Joined: 27. Sep 2010, 16:32

Wrong dependency for wammu

Post by vovim »

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.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Wrong dependency for wammu

Post by gapan »

Please run:

Code: Select all

slapt-get -u
slapt-get -i gammu
to get the newest gammu package available. Thanks for the report.
Image
Image
vovim
Posts: 2
Joined: 27. Sep 2010, 16:32

Re: Wrong dependency for wammu (FIXED)

Post by vovim »

Thanks gapan.
Working O.K. now
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Wrong dependency for wammu

Post by Shador »

I have to add that I can't maintain [gw]ammu anymore, as my new mobile phone got stolen, quite a while ago already and thus the only phone I own is a pretty old phone which isn't compatible with gammu nor computers in general I guess.
Anybody is free to overtake gammu and wammu. Otherwise it has to be removed from the repositories at some point in the hopefully far future, when rebuilding isn't anymore enough.
Image
Post Reply