Closed githububub closed 7 years ago
these are all funcs found in libterminfo.so:
~ $ readelf -a /lib/libterminfo.so | grep setupterm
00000020e3e0 001000000007 R_X86_64_JUMP_SLO 0000000000002c82 ti_setupterm + 0
00000020e4f8 004500000007 R_X86_64_JUMP_SLO 0000000000002e00 setupterm + 0
16: 0000000000002c82 382 FUNC GLOBAL DEFAULT 8 ti_setupterm
69: 0000000000002e00 59 FUNC GLOBAL DEFAULT 8 setupterm
48: 0000000000000000 0 FILE LOCAL DEFAULT ABS setupterm.c
116: 0000000000002c82 382 FUNC GLOBAL DEFAULT 8 ti_setupterm
169: 0000000000002e00 59 FUNC GLOBAL DEFAULT 8 setupterm
~ $ readelf -a /lib/libterminfo.so | grep tputs
00000020e488 002e00000007 R_X86_64_JUMP_SLO 000000000000402b tputs + 0
46: 000000000000402b 50 FUNC GLOBAL DEFAULT 8 tputs
59: 0000000000000000 0 FILE LOCAL DEFAULT ABS tputs.c
146: 000000000000402b 50 FUNC GLOBAL DEFAULT 8 tputs
~ $ readelf -a /lib/libterminfo.so | grep tigetstr
53: 0000000000002c66 28 FUNC GLOBAL DEFAULT 8 tigetstr
153: 0000000000002c66 28 FUNC GLOBAL DEFAULT 8 tigetstr
~ $ readelf -a /lib/libterminfo.so | grep tigetflag
40: 0000000000002b4f 27 FUNC GLOBAL DEFAULT 8 tigetflag
140: 0000000000002b4f 27 FUNC GLOBAL DEFAULT 8 tigetflag
~ $
that means you somehow got to add -lterminfo into LDFLAGS/LIBS
Got it. I initially followed the followed the Sabotage build recipe and used LIBS=
instead of LDFLAGS=
. Thanks. I will have to try out Sabotage on a spare box one of these days...
Workaround is to --disable-ul.