Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409895 - app-mobilephone/wammu-0.3.5 dev-db/unixODBC-2.3.1 - from gammu._gammu import * /// ImportError: libodbc.so.1: cannot open shared object file: No such file or directory
Summary: app-mobilephone/wammu-0.3.5 dev-db/unixODBC-2.3.1 - from gammu._gammu import ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-27 15:45 UTC by Libor Polčák
Modified: 2012-03-30 06:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Libor Polčák 2012-03-27 15:45:12 UTC
When I try to run =app-mobilephone/wammu-0.3.5 using =dev-db/unixODBC-2.3.1, wammu crashes with:

Traceback (most recent call last):
  File "/usr/bin/wammu", line 176, in <module>
    import Wammu.App
  File "/usr/lib64/python2.7/site-packages/Wammu/App.py", line 28, in <module>
    import Wammu.Main
  File "/usr/lib64/python2.7/site-packages/Wammu/Main.py", line 58, in <module>
    import Wammu.Editor
  File "/usr/lib64/python2.7/site-packages/Wammu/Editor.py", line 36, in <module>
    import Wammu.Data
  File "/usr/lib64/python2.7/site-packages/Wammu/Data.py", line 28, in <module>
    from gammu.Data import Connections, MemoryValueTypes, CalendarTypes, CalendarValueTypes, TodoPriorities, TodoValueTypes, InternationalPrefixes
  File "/usr/lib64/python2.7/site-packages/gammu/__init__.py", line 65, in <module>
    from gammu._gammu import *
ImportError: libodbc.so.1: cannot open shared object file: No such file or directory

Downgrading unixODBC to =dev-db/unixODBC-2.3.0-r1 solves the issue and wammu can be started smoothly.

My USE flags are following:
dev-db/unixODBC minimal -odbcmanual -static-libs
app-mobilephone/wammu bluetooth
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-28 00:44:02 UTC
Please post your `emerge --info' output in a comment.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-03-30 06:36:56 UTC
Time to run `revdep-rebuild` from the gentoolkit package to rebuild reverse dependencies of unixODBC after upgrade of it.