Hello,

obvious patch for ticket #23: linux-gate.so is a non-existing virtual
library which can simply be ignored while calculating dependencies.

Committed as r244.
-- 
Giovanni Bajo
Index: bindepend.py
===================================================================
--- bindepend.py        (revision 243)
+++ bindepend.py        (revision 244)
@@ -290,6 +290,11 @@
         tokens = string.split(string.strip(txt[i]))
         if len(tokens) > 2 and tokens[1] == '=>':
             lib = string.strip(tokens[2])
+            if string.strip(tokens[0])[:10] == 'linux-gate':
+                # linux-gate is a fake library which does not exist and
+                # should be ignored. See also:
+                # http://www.trilithium.com/johan/2005/08/linux-gate/
+                continue
             if os.path.exists(lib):
                 rslt.append(lib)
             else:
Index: doc/CHANGES.txt
===================================================================
--- doc/CHANGES.txt     (revision 243)
+++ doc/CHANGES.txt     (revision 244)
@@ -20,6 +20,8 @@
  + (Windows) Make single-file packages not depend on MSVCRT71.DLL anymore,
    even under Python 2.4. You can eventually ship your programs really as
    single-file executables, even when using the newest Python version!
+ + (Linux) Ignore linux-gate.so while calculating dependencies (fix provided
+   by Vikram Aggarwal).
 
 
 PyInstaller 1.0 (with respect to McMillan's Python Installer 5b5):
_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to