I checked, none of the files are symlinks. The install process never got to the point where it created sym-links for libraries (if it even does, I haven't gotten to that point in the install process.)
-B -----Original Message----- From: python-list-bounces+cbds=argushealth....@python.org [mailto:python-list-bounces+cbds=argushealth....@python.org] On Behalf Of Thomas Jollans Sent: Friday, July 09, 2010 7:10 AM To: python-list@python.org Subject: Re: Issues compiling 2.6.5 on AIX 6.1 On 07/08/2010 04:36 PM, Stopp, Bryan wrote: > building '_struct' extension > > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall > -Wstrict-prototypes -I. -I/build/tools/src/Python-2.6.5/./Include > -I/build/tools/include -I. -IInclude -I./Include -I/usr/local/include > -I/build/tools/src/Python-2.6.5/Include -I/build/tools/src/Python-2.6.5 > -c /build/tools/src/Python-2.6.5/Modules/_struct.c -o > build/temp.aix-6.1-2.6/build/tools/src/Python-2.6.5/Modules/_struct.o > > ./Modules/ld_so_aix gcc -pthread -bI:Modules/python.exp > build/temp.aix-6.1-2.6/build/tools/src/Python-2.6.5/Modules/_struct.o > -L/build/tools/lib -L/usr/local/lib -lpython2.6 -o > build/lib.aix-6.1-2.6/_struct.so > > collect2: library libpython2.6 not found What really stumps me (and you too, I expect) about this is the two different error messages. Above, it looks like collect2 simply doesn't find a -lpython2.6 anywhere. Adding . to LIBPATH does make sense. > building '_struct' extension > > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall > -Wstrict-prototypes -I. -I/build/tools/src/Python-2.6.5/./Include > -I/build/tools/include -I. -IInclude -I./Include -I/usr/local/include > -I/build/tools/src/Python-2.6.5/Include -I/build/tools/src/Python-2.6.5 > -c /build/tools/src/Python-2.6.5/Modules/_struct.c -o > build/temp.aix-6.1-2.6/build/tools/src/Python-2.6.5/Modules/_struct.o > > ./Modules/ld_so_aix gcc -pthread -bI:Modules/python.exp > build/temp.aix-6.1-2.6/build/tools/src/Python-2.6.5/Modules/_struct.o > -L/build/tools/lib -L/usr/local/lib -lpython2.6 -o > build/lib.aix-6.1-2.6/_struct.so > > ld: 0706-006 Cannot find or open library file: -l python2.6 > > ld:open(): No such file or directory > > collect2: ld returned 255 exit status But what on earth is this? It looks like collect2 found the library, and told it's mate ld, which can't open it. collect2 thinks it find a file, ld hits "No such file or directory" on the same file. Maybe it's a dead symlink? Looking for a file with the right name and location would find it, while opening it would hit a dead end, and probably return "No such file " -- http://mail.python.org/mailman/listinfo/python-list PRIVILEGED AND CONFIDENTIAL This email transmission contains privileged and confidential information intended only for the use of the individual or entity named above. If the reader of the email is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any use, dissemination or copying of this email transmission is strictly prohibited by the sender. If you have received this transmission in error, please delete the email and immediately notify the sender via the email return address or mailto:postmas...@argushealth.com. Thank you. -- http://mail.python.org/mailman/listinfo/python-list