From fc4da6933c5257e422402ef85c0f292f908ae3b3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 15 Jul 2014 11:15:51 +0530 Subject: [PATCH] Update version of libplist loaded by the imobiledevice driver to match the version shipped with the Qt 5 binaries --- src/calibre/devices/idevice/libimobiledevice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/devices/idevice/libimobiledevice.py b/src/calibre/devices/idevice/libimobiledevice.py index a2c289b560..0f0c875aee 100644 --- a/src/calibre/devices/idevice/libimobiledevice.py +++ b/src/calibre/devices/idevice/libimobiledevice.py @@ -440,7 +440,7 @@ class libiMobileDevice(): if islinux: env = "linux" self.lib = cdll.LoadLibrary('libimobiledevice.so.4') - self.plist_lib = cdll.LoadLibrary('libplist.so.1') + self.plist_lib = cdll.LoadLibrary('libplist.so.2') elif isosx: env = "OS X" @@ -452,7 +452,7 @@ class libiMobileDevice(): self.lib = cdll.LoadLibrary(path) # Load libplist - path = 'libplist.1.dylib' + path = 'libplist.2.dylib' if hasattr(sys, 'frameworks_dir'): self.plist_lib = cdll.LoadLibrary(os.path.join(getattr(sys, 'frameworks_dir'), path)) else: