diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-02-02 17:10:04 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-02-02 17:10:04 (GMT) |
commit | 6c54ef6884b00f6bcc23fe4beff0419ba94a2a75 (patch) | |
tree | 419d290e344989d39b0023aabdd7a104b6ffdb2a /Misc/AIX-NOTES | |
parent | 529baf2b576ab739f71dc3a51569d272de241fd9 (diff) | |
download | cpython-6c54ef6884b00f6bcc23fe4beff0419ba94a2a75.zip cpython-6c54ef6884b00f6bcc23fe4beff0419ba94a2a75.tar.gz cpython-6c54ef6884b00f6bcc23fe4beff0419ba94a2a75.tar.bz2 |
Add some notes that got python to work on the snake farm
Diffstat (limited to 'Misc/AIX-NOTES')
-rw-r--r-- | Misc/AIX-NOTES | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Misc/AIX-NOTES b/Misc/AIX-NOTES index c532fac..4f82a81 100644 --- a/Misc/AIX-NOTES +++ b/Misc/AIX-NOTES @@ -137,4 +137,20 @@ NOTE: If the extension module is written in C++ and contains templates, known whether makeC++SharedLib can be used as a complete substitute for ld_so_aix. +According to Gary Hook from IBM, the format of the export file changed +in AIX 4.2. For AIX 4.2 and later, a period "." is required on the +first line after "#!". If python crashes while importing a shared +library, you can try modifying the LINKCC variable in the Makefile. +It probably looks like this: + + LINKCC= $(srcdir)/Modules/makexp_aix Modules/python.exp \"\" $(LIBRARY); $(PURIFY) $(CXX) + +You should modify the \"\" to be a period: + + LINKCC= $(srcdir)/Modules/makexp_aix Modules/python.exp . $(LIBRARY); $(PURIFY) $(CXX) + +Using a period fixed the problem in the snake farm. YMMV. +After testing with different versions of AIX, a fix should +be checked in. Hopefully, this fix be incorporated into Python 2.3. + ============================================================================== |