Comment 1 for bug 806661

Revision history for this message
Marc Tardif (cr3) wrote : Re: [oneiric] IOError: decoder zip not available

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?