From owner-freebsd-ports@FreeBSD.ORG Thu Mar 3 07:44:31 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90C27106564A for ; Thu, 3 Mar 2011 07:44:31 +0000 (UTC) (envelope-from alexander@kojevnikov.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 51CF98FC13 for ; Thu, 3 Mar 2011 07:44:30 +0000 (UTC) Received: by vxc34 with SMTP id 34so886911vxc.13 for ; Wed, 02 Mar 2011 23:44:30 -0800 (PST) Received: by 10.220.176.5 with SMTP id bc5mr188390vcb.195.1299136897080; Wed, 02 Mar 2011 23:21:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.180.70 with HTTP; Wed, 2 Mar 2011 23:21:17 -0800 (PST) From: Alexander Kojevnikov Date: Thu, 3 Mar 2011 15:21:17 +0800 Message-ID: To: ports@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: bapt@freebsd.org Subject: shells/zsh links to devel/ncurses X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 07:44:31 -0000 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