[gnome-clocks] Fix libcanberra.so: cannot open shared object file: No such file



commit a6f7a554fbecf5e3b1d8e3a473316ee87ff91691
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Sun Sep 2 23:40:08 2012 -0400

    Fix libcanberra.so: cannot open shared object file: No such file
    
    This should work for now on Debian, Fedora, Ubuntu, etc.
    
    http://packages.debian.org/sid/i386/libcanberra0/filelist
    http://koji.fedoraproject.org/koji/rpminfo?rpmID=3228943
    
    I believe this will break if libcanberra ever needs to do a
    soname bump though.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683235

 gnomeclocks/pycanberra.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomeclocks/pycanberra.py b/gnomeclocks/pycanberra.py
index 36a0245..f21f06d 100644
--- a/gnomeclocks/pycanberra.py
+++ b/gnomeclocks/pycanberra.py
@@ -502,7 +502,7 @@ _libHandle = None
 def GetApi():
    global _libHandle
    if not _libHandle:
-      _libHandle = CDLL("libcanberra.so")
+      _libHandle = CDLL("libcanberra.so.0")
    return _libHandle
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]