Issue 1648923: HP-UX: -lcurses missing for readline.so (original) (raw)

Created on 2007-01-31 14:33 by jabt, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (6)
msg61058 - (view) Author: Johannes Abt (jabt) Date: 2007-01-31 14:33
The readline extension seemed to be built without problems, but afterwards, this line appears: /usr/lib/hpux32/dld.so: Unsatisfied code symbol 'tgetent' in load module 'build/lib.hp-ux-B.11.23-ia64-2.5/readline.so'. I have fixed this by manually rebuilding the above file with -lcurses.
msg116564 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-09-16 15:49
I can't believe that a build issue raised almost 4 years ago against 2.5 is still an issue today.
msg116577 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2010-09-16 17:20
It could still exist since we don't seem to have many people building python on hpux. That said, unless the op confirms the problem still exists in 2.7 or later this can stay closed.
msg155452 - (view) Author: GaaL33 (gaal33) Date: 2012-03-12 15:56
I confirm that there's still a build issue. I've tried to compile python 2.7.2 on HP-UX 11.31. And it crashes with : ld -b build/temp.hp-ux-B.11.31-ia64-2.7/images/Python-2.7.2/Modules/readline.o -L/usr/lib/termcap -L/usr/local/lib -L/usr/local/lib/hpux32 -lreadline -o build/lib.hp-ux-B.11.31-ia64-2.7/readline.so /usr/lib/hpux32/dld.so: Unsatisfied code symbol 'tgetent' in load module '/usr/local/lib/hpux32/libreadline.so'. sh[3]: 11780 Killed *** Error exit code 137 adding "-lcurses" to the command resolves the problem.
msg155454 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2012-03-12 16:51
OK, reopening. I've added 3.2 and 3.3 as I imagine the same problem will exist there. Now we need someone to propose a patch to fix it.
msg323737 - (view) Author: Michael Osipov (michael-o) * Date: 2018-08-18 22:25
I cannot reproduce this with master and 3.7 on HP-UX. readline is linked and works with interactive python(1). curses module isn't buld because I don't have curses installed. I opt to close this one.
History
Date User Action Args
2022-04-11 14:56:22 admin set github: 44528
2018-08-19 00:34:16 berker.peksag set status: open -> closedresolution: out of datestage: needs patch -> resolved
2018-08-18 22:25:04 michael-o set nosy: + michael-omessages: +
2014-02-03 19:13:49 BreamoreBoy set nosy: - BreamoreBoy
2012-03-12 16:51:06 r.david.murray set status: closed -> openversions: + Python 3.2, Python 3.3messages: + resolution: out of date -> (no value)stage: test needed -> needs patch
2012-03-12 15:56:04 gaal33 set nosy: + gaal33messages: + versions: + Python 2.7, - Python 2.6
2010-09-16 17:20:06 r.david.murray set nosy: + r.david.murraymessages: +
2010-09-16 15:49:14 BreamoreBoy set status: open -> closednosy: + BreamoreBoymessages: + resolution: out of date
2009-03-30 20:04:48 ajaksu2 set priority: normal -> lowstage: test neededtype: behaviorversions: + Python 2.6, - Python 2.5
2007-01-31 14:33:20 jabt create