Modifying setup.py to know about the new architecture specific lib
directories seems to fix the problem. Here is an example diff where the
architecture is hard coded, I'm sure there's precedent in other packages
to patch the file properly:

=== modified file 'setup.py'
--- setup.py    2009-11-20 19:22:59 +0000
+++ setup.py    2011-07-06 20:56:04 +0000
@@ -147,6 +147,9 @@
             add_directory(library_dirs, "/opt/local/lib")
             add_directory(include_dirs, "/opt/local/include")

+        elif sys.platform == "linux2":
+            add_directory(library_dirs, "/usr/lib/x86_64-linux-gnu")
+
         add_directory(library_dirs, "/usr/local/lib")
         # FIXME: check /opt/stuff directories here?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/806661

Title:
  [oneiric] IOError: decoder zip not available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-imaging/+bug/806661/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to