Poor Yorick added the comment: An attempt to build python-2.7.9 resulted in this error:
renaming "readline" since importing it failed ... undefined symbol: UP This happened because setup.py chose "-lncursesw" as the readline terminal library. Although libncursesw.so itself links to libtinfow.so, in order to succeed with the "--as-needed" linker flag, setup.py would have to directly choose libtinfow.so. The part of the patch that deals with that does not rely on the other changes that were made to accomodate -isystem in CPPFLAGS. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23284> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com