[issue941346] AIX shared library fix

Sébastien Sablé report at bugs.python.org
Tue Feb 15 14:00:23 CET 2011


Sébastien Sablé <sable at users.sourceforge.net> added the comment:

OK, Python with shared libraries is broken in trunk since the library was renamed to libpython3.2m.
Here is a patch to correct that:

Index: Modules/ld_so_aix.in
===================================================================
--- Modules/ld_so_aix.in        (revision 88422)
+++ Modules/ld_so_aix.in        (working copy)
@@ -131,7 +131,7 @@
   shift
 done
 
-if test "$objfile" = "libpython at VERSION@.so"; then
+if test "$objfile" = "libpython at VERSION@@ABIFLAGS at .so"; then
   ldsocoremode="true" 
 fi

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue941346>
_______________________________________


More information about the Python-bugs-list mailing list