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

From: Guy Yur <guyyur_at_gmail.com>
Date: Thu, 4 Dec 2014 15:59:22 +0200
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
Received on Thu Dec 04 2014 - 12:59:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:54 UTC