Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2018 20:41:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229126] devel/libslang2: Undefined symbol "tgetent"
Message-ID:  <bug-229126-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229126

            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@FreeBSD.org
          Reporter: olevole@olevole.ru
             Flags: maintainer-feedback?(garga@FreeBSD.org)
          Assignee: garga@FreeBSD.org

Created attachment 194374
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194374&action=
=3Dedit
devel/libslang2: link with ncurses lib

It seems that the functional of libslang2 on FreeBSD broken from 2.3.2 upda=
te.
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  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 n=
ot
have time to study the source code ) but looks like we need to link libslan=
g2
to ncurses because it is used here:

src/sldisply.c:extern int tgetent(char *, char *);

Quick fix: add USES and LDFLAGS for lcurses

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229126-7788>