[Bug 229126] devel/libslang2: Undefined symbol "tgetent"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 18 20:41:24 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229126

            Bug ID: 229126
           Summary: devel/libslang2: Undefined symbol "tgetent"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: garga at FreeBSD.org
          Reporter: olevole at olevole.ru
             Flags: maintainer-feedback?(garga at FreeBSD.org)
          Assignee: garga at FreeBSD.org

Created attachment 194374
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194374&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list