Created attachment 194374 [details] devel/libslang2: link with ncurses lib It seems that the functional of libslang2 on FreeBSD broken from 2.3.2 update. E.g mc (midnight commander): % mc /usr/local/lib/libslang.so.2: Undefined symbol "tgetent" I see in libslang2 NEWS file notes related to curses: --- Miscellaneous ============= Support was added to support 32-bit terminfo database entries introduced by ncurses 6.1 (version 2.3.2) --- But I'm not sure that the ncurses library is part of the libslang ( I did not have time to study the source code ) but looks like we need to link libslang2 to ncurses because it is used here: src/sldisply.c:extern int tgetent(char *, char *); Quick fix: add USES and LDFLAGS for lcurses
Affects all? Me too. Reinstall/rebuild doesn't help.
(In reply to mikhail.rokhin from comment #1) I get this problem on all my last two FreeBSD ;-) so I think it's affects all) Did you try patch from attachments? I hope the maintainer will also sooner or later meet this problem
(In reply to olevole from comment #2) No. I'm waiting for maintainer))
(In reply to olevole from comment #2) I mean you may want to change the bug option Importance: --- Affects Only Me --> Affects All It may catch maintainer faster.
I'll work on this really soon. Thanks
A commit references this bug: Author: garga Date: Mon Jul 23 14:25:05 UTC 2018 New revision: 475177 URL: https://svnweb.freebsd.org/changeset/ports/475177 Log: devel/libslang2: Add missing LDFLAGS Without linking libslang2.so.2.3.2 against libncurses a dependant binary is going to file with `Undefined symbol "tgetent"` error. PR: 229126 Submitted by: olevole@olevole.ru MFH: 2018Q3 Sponsored by: Rubicon Communications, LLC (Netgate) Changes: head/devel/libslang2/Makefile
A commit references this bug: Author: garga Date: Mon Jul 23 14:58:57 UTC 2018 New revision: 475179 URL: https://svnweb.freebsd.org/changeset/ports/475179 Log: MFH: r475177 devel/libslang2: Add missing LDFLAGS Without linking libslang2.so.2.3.2 against libncurses a dependant binary is going to file with `Undefined symbol "tgetent"` error. PR: 229126 Submitted by: olevole@olevole.ru Sponsored by: Rubicon Communications, LLC (Netgate) Approved by: ports-secteam (miwi) Changes: _U branches/2018Q3/ branches/2018Q3/devel/libslang2/Makefile