New submission from Peter Häring <p.haer...@gmx.net>: test_distutils fails with 2.7 on a shared build (at least if building outside the source tree), 2.6 versions work. The reason for this is, that the test tries to link and doesn't find libpython-2.7.so.1.
A solution (or workaround) is to add LDFLAGS=-L`pwd` to the variable RUNSHARED, as I did in the attached file for SUNOS and GNU/Linux etc. Other systems probably need some similar patch. ---------- components: Build files: Python-2.7-RUNSHARED.patch keywords: patch messages: 111970 nosy: phaering priority: normal severity: normal status: open title: RUNSHARED needs LDFLAGS type: compile error versions: Python 2.7 Added file: http://bugs.python.org/file18255/Python-2.7-RUNSHARED.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9419> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com