[New-bugs-announce] [issue9419] RUNSHARED needs LDFLAGS

Peter Häring report at bugs.python.org
Thu Jul 29 19:07:02 CEST 2010


New submission from Peter Häring <p.haering at 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 <report at bugs.python.org>
<http://bugs.python.org/issue9419>
_______________________________________


More information about the New-bugs-announce mailing list