Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2014 15:59:22 +0200
From:      Guy Yur <guyyur@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   ncurses (non-w) is missing from _LIBRARIES= in src.libnames.mk
Message-ID:  <CAC67Hz9iA4sGYaZxmC53X-3FMiJOkXFaFLGgGpYGs=G=-TbhTg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

Hi,

ncurses (non-w version) is missing from _LIBRARIES= in src.libnames.mk

This causes libmenu, libpanel and libform to not list ncurses as a
needed library.

head r275469M i386:
readelf -d /usr/lib/libmenu.so | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libc.so.7]

readelf -d /usr/lib/libmenuw.so | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libncursesw.so.8]
 0x00000001 (NEEDED)                     Shared library: [libc.so.7]


10.1-RELEASE i386:
readelf -d /usr/lib/libmenu.so | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libncurses.so.8]
 0x00000001 (NEEDED)                     Shared library: [libc.so.7]


net/samba41 builds samba-regedit with a dependency on libmenu, libpanel
and libform.
The missing ncurses causes the configure scripts to fail building the
testprog and assume libmenu, libpanel and libform don't exist.

samba config.log
...
[2/2] Linking default/testprog
/usr/lib/libmenu.so: undefined reference to `subpad'
...


- Guy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC67Hz9iA4sGYaZxmC53X-3FMiJOkXFaFLGgGpYGs=G=-TbhTg>