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

Guy Yur guyyur at gmail.com
Thu Dec 4 13:59:23 UTC 2014


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


More information about the freebsd-current mailing list