[tlbuild] asymptote 2.88 on OpenBSD

Robert Alessi alessi at robertalessi.net
Sat Mar 9 11:31:51 CET 2024


Hi,

For information of those interested in OpenBSD, compiling asymptote
2.88 on OpenBSD failed this morning with the errors listed below.

So I reconfigured asymptote with --disable-readline and it worked.

Reference: https://git.sr.ht/~ralessi/texlive-openbsd/tree/fff148bb/item/tl-build.sh#L124

-- robert

==============================================================================
ld: error: undefined hidden symbol: _libc_mprotect
>>> referenced by /usr/lib/rcrt0.o:(.text+0x351)

ld: error: undefined hidden symbol: _libc_mimmutable
>>> referenced by /usr/lib/rcrt0.o:(.text+0x364)

ld: error: undefined symbol: setupterm
>>> referenced by settings.cc:1816
>>>               settings.o:(settings::getScroll())

ld: error: undefined symbol: cur_term
>>> referenced by settings.cc:1817
>>>               settings.o:(settings::getScroll())

ld: error: undefined symbol: tgetnum
>>> referenced by terminal.c:214 (/usr/src/gnu/lib/libreadline/terminal.c:214)
>>>               terminal.o:(_rl_get_screen_size) in archive /usr/lib/libreadline.a
>>> referenced by terminal.c:227 (/usr/src/gnu/lib/libreadline/terminal.c:227)
>>>               terminal.o:(_rl_get_screen_size) in archive /usr/lib/libreadline.a

ld: error: undefined symbol: tgetent
>>> referenced by terminal.c:390 (/usr/src/gnu/lib/libreadline/terminal.c:390)
>>>               terminal.o:(_rl_init_terminal_io) in archive /usr/lib/libreadline.a

ld: error: undefined symbol: tgetstr
>>> referenced by terminal.c:351 (/usr/src/gnu/lib/libreadline/terminal.c:351)
>>>               terminal.o:(_rl_init_terminal_io) in archive /usr/lib/libreadline.a

ld: error: undefined symbol: tgetflag
>>> referenced by terminal.c:451 (/usr/src/gnu/lib/libreadline/terminal.c:451)
>>>               terminal.o:(_rl_init_terminal_io) in archive /usr/lib/libreadline.a
>>> referenced by terminal.c:451 (/usr/src/gnu/lib/libreadline/terminal.c:451)
>>>               terminal.o:(_rl_init_terminal_io) in archive /usr/lib/libreadline.a
>>> referenced by terminal.c:463 (/usr/src/gnu/lib/libreadline/terminal.c:463)
>>>               terminal.o:(_rl_init_terminal_io) in archive /usr/lib/libreadline.a
>>> referenced 1 more times

ld: error: undefined symbol: tputs
>>> referenced by terminal.c:562 (/usr/src/gnu/lib/libreadline/terminal.c:562)
>>>               terminal.o:(_rl_backspace) in archive /usr/lib/libreadline.a
>>> referenced by terminal.c:562 (/usr/src/gnu/lib/libreadline/terminal.c:562)
>>>               terminal.o:(_rl_backspace) in archive /usr/lib/libreadline.a
>>> referenced by terminal.c:595 (/usr/src/gnu/lib/libreadline/terminal.c:595)
>>>               terminal.o:(rl_ding) in archive /usr/lib/libreadline.a
>>> referenced 27 more times

ld: error: undefined symbol: tgoto
>>> referenced by display.c:1939 (/usr/src/gnu/lib/libreadline/display.c:1939)
>>>               display.o:(update_line) in archive /usr/lib/libreadline.a
>>> referenced by display.c:1898 (/usr/src/gnu/lib/libreadline/display.c:1898)
>>>               display.o:(update_line) in archive /usr/lib/libreadline.a
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:130: asy] Error 1
==============================================================================


More information about the tlbuild mailing list.