Issue Compiling on Aix 5.3

James R. Emerson jemerson at desu.edu
Thu Mar 26 12:20:22 EDT 2009


I am trying to compile Python on Aix 5.3.

I have used the following options as per the README file:

export PATH=/usr/bin:/usr/vacpp/bin
        ./configure --with-gcc="xlc_r -q64" --with-cxx="xlC_r -q64" \
           --disable-ipv6 AR="ar -X64"


When I run make I receive the following error:

building 'zlib' extension
./Modules/ld_so_aix xlc_r -q64 -bI:Modules/python.exp build/temp.aix-5.3-2.6/u01/jamese/Python-2.6.1/Modules/zlibmodule.o -L/usr/local/lib -lz -o build/lib.aix-5.3-2.6/zlib.so
ld: 0711-317 ERROR: Undefined symbol: .crc32
ld: 0711-317 ERROR: Undefined symbol: .adler32
ld: 0711-317 ERROR: Undefined symbol: .inflate
ld: 0711-317 ERROR: Undefined symbol: .inflateEnd
ld: 0711-317 ERROR: Undefined symbol: .inflateCopy
ld: 0711-317 ERROR: Undefined symbol: .deflateCopy
ld: 0711-317 ERROR: Undefined symbol: .deflate
ld: 0711-317 ERROR: Undefined symbol: .deflateEnd
ld: 0711-317 ERROR: Undefined symbol: .inflateInit2_
ld: 0711-317 ERROR: Undefined symbol: .deflateInit2_
ld: 0711-317 ERROR: Undefined symbol: .deflateInit_
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
*** WARNING: renaming "zlib" since importing it failed: Could not load module build/lib.aix-5.3-2.6.
System error: No such file or directory
error: No such file or directory
make: The error code from the last command is 1.


Stop.
#

I would appreciate any assistance that could be provided with this.

Thanks,
James.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090326/b217c560/attachment.html>


More information about the Python-list mailing list