Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2011 15:21:17 +0800
From:      Alexander Kojevnikov <alexander@kojevnikov.com>
To:        ports@freebsd.org
Cc:        bapt@freebsd.org
Subject:   shells/zsh links to devel/ncurses
Message-ID:  <AANLkTimVt46gP_8b-Y2pxc_B3d7ZK=6bxmhXj-Gw8Apx@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
If devel/ncurses is installed, shells/zsh links to libncursesw from
that port but doesn't add it as a dependency.

To reproduce:

1. Install devel/ncurses

2. (Re)install shells/zsh

3. Run:
% ldd `shich zsh`
        libncursesw.so.6.0 => /usr/local/lib/libncursesw.so.6.0 (0x8008f4000)
        ...

4. pkg_delete devel/ncurses

5. zsh cannot start:
% ldd `which zsh`
        libncursesw.so.6.0 => not found (0x0)
        ...

Re-building shells/zsh fixes it:

% ldd `which zsh`
        libncursesw.so.8 => /lib/libncursesw.so.8 (0x8008f5000)
        ...

To sum it up, shells/zsh should either not link to devel/ncurses or
list it as a dependency if it does.

Alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimVt46gP_8b-Y2pxc_B3d7ZK=6bxmhXj-Gw8Apx>