[issue8335] distutils test_build_ext's test_get_outputs fails in bootstrap environment
jan matejek
report at bugs.python.org
Wed May 26 17:46:13 CEST 2010
jan matejek <jmatejek at suse.cz> added the comment:
Tarek,
the error output is this:
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lpython2.6
the chdir is the problem - because in an environment where you don't have an existing Python installation, you will not find -lpython2.6.
the linker from unixccompiler.py:link() is this:
['gcc', '-pthread', '-shared', '/tmp/pythontest_eosQ1d/tempt/tmp/tmphIMDH2/foo.o', '-L.', '-lpython2.6', '-o', '/tmp/tmppAsk00/foo.so']
and since you're in new temporary directory, -L. does not include libpython2.6 (unless you copy it in that directory or change -L. to the right place)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8335>
_______________________________________
More information about the Python-bugs-list
mailing list