Ticket #6602 (closed defect: fixed)
BUG: ncurses has 'w' suffix in lib-names
| Reported by: | aips@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.0 |
| Keywords: | Cc: | ||
| Port: |
Description
Hi
after installing the ncurses port (5.5), I found the libraries all have a trailing "w" in the name:
sudo port install ncurses ---> Extracting ncurses ---> Configuring ncurses ---> Building ncurses with target all ---> Staging ncurses into destroot ---> Installing ncurses 5.5_0+darwin_8 ---> Activating ncurses 5.5_0+darwin_8 ---> Cleaning ncurses
sudo port list ncurses ncurses @5.5 devel/ncurses
sudo port contents ncurses |grep lib
/opt/local/lib/libformw.5.dylib /opt/local/lib/libformw.a /opt/local/lib/libformw.dylib /opt/local/lib/libmenuw.5.dylib /opt/local/lib/libmenuw.a /opt/local/lib/libmenuw.dylib /opt/local/lib/libncurses++w.a /opt/local/lib/libncursesw.5.dylib /opt/local/lib/libncursesw.a /opt/local/lib/libncursesw.dylib /opt/local/lib/libpanelw.5.dylib /opt/local/lib/libpanelw.a /opt/local/lib/libpanelw.dylib /opt/local/lib/terminfo
Is this intended???? Because now I have to change anything that links to -lncurses to -lncursesw... I guess. What am I missing?
I did read in
that /usr/lib/libcurses.dylib == libncurses.
Why does the 'all' target not install both the ordinary libncurses.* _and_ the libncursesw.* versions? I submit that this behaviour is a bug not a feature.

