[issue941346] AIX shared library fix
Sébastien Sablé
report at bugs.python.org
Tue Feb 15 13:06:31 CET 2011
Sébastien Sablé <sable at users.sourceforge.net> added the comment:
Hum, I was incorrect in previous note:
You can remove -L\$(srcdir) on this line, but then you need to specify the full path to Modules/python.exp. See patch below:
Index: configure.in
===================================================================
--- configure.in (revision 88422)
+++ configure.in (working copy)
@@ -1642,7 +1655,7 @@
then
case $ac_sys_system/$ac_sys_release in
AIX*)
- BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:Modules/python.exp -L\$(srcdir)"
+ BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:\$(srcdir)/Modules/python.exp"
LDSHARED="\$(BINLIBDEST)/config/ld_so_aix \$(CC) -bI:\$(BINLIBDEST)/config/python.exp"
;;
IRIX/5*) LDSHARED="ld -shared";;
Also, I think there are other issues with building Python 3.2 with shared libraries. I am currently investigating.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue941346>
_______________________________________
More information about the Python-bugs-list
mailing list