Bug 252849 - Base ncurses doesn't have libpanelw.so, libtinfo.so, etc.
Summary: Base ncurses doesn't have libpanelw.so, libtinfo.so, etc.
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 12.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2021-01-20 07:56 UTC by Yuri Victorovich
Modified: 2021-01-26 16:01 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2021-01-20 07:56:58 UTC
The devel/ncurses port provides many libraries:

> $ pkg info -l ncurses | grep lib/ | grep "so$"
> 	/usr/local/lib/libform.so
> 	/usr/local/lib/libformw.so
> 	/usr/local/lib/libmenu.so
> 	/usr/local/lib/libmenuw.so
> 	/usr/local/lib/libncurses.so
> 	/usr/local/lib/libncursesw.so
> 	/usr/local/lib/libpanel.so
> 	/usr/local/lib/libpanelw.so
> 	/usr/local/lib/libtinfo.so
> 	/usr/local/lib/libtinfow.so

At least libpanelw.so and libtinfo.so are missing in /lib, and maybe more libraries are missing.

Please note that the header /usr/include/panel.h corresponding to libpanelw.so is present.

The ncurses port is at version 6.2, and the base ncurses is at version 5.x.

12.2-STABLE r368977
Comment 1 Steve Wills freebsd_committer 2021-01-26 16:01:49 UTC
Take a look at /usr/src/lib/ncurses/ncurses/Makefile and you'll see that libtinfo is a symlink and a number of other libs are all symlinks. Everything is built into one lib and symlinked, which isn't ideal but is how it's historically been done. Base ncurses probably needs a bit of an overhaul.