From owner-freebsd-questions@FreeBSD.ORG Thu Aug 2 20:02:47 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92C6216A417 for ; Thu, 2 Aug 2007 20:02:47 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 6E43413C45B for ; Thu, 2 Aug 2007 20:02:47 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 0F61251939 for ; Thu, 2 Aug 2007 16:02:45 -0400 (EDT) Date: Thu, 2 Aug 2007 21:02:42 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070802210242.6708a8d1@gumby.homeunix.com.> In-Reply-To: <46B21E38.4080800@cs.okstate.edu> References: <46B1BF19.3020104@gmail.com> <6.2.3.4.2.20070802101030.0379ebd0@mailsvr.xxiii.com> <20070802172746.5c9bd856@gumby.homeunix.com.> <46B21E38.4080800@cs.okstate.edu> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Nano issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 20:02:47 -0000 On Thu, 02 Aug 2007 13:11:04 -0500 Reid Linnemann wrote: > Written by RW on 08/02/07 11:27>> > > On Thu, 02 Aug 2007 10:15:35 -0400 > > r17fbsd@xxiii.com wrote: > >=20 > >> At 07:25 AM 8/2/2007, Roberth Sjon=F8y wrote: > >>> Hello, Ive just installed my prefered text=20 > >>> editor, nano, but when im going to run nano, this just appears: > >>> /libexec/ld-elf.so.1: Shared object=20 > >>> "libncursesw.so.6" not found , required by "nano" > >> I have nano 2.0.6 installed from packages (not ports) and it works > >> fine on 6.2. > >> > >> I also have that library with the same date as my last buildworld: > >> > >> $ ls -l /lib/*curs* > >> -r--r--r-- 1 root wheel 268108 Jan 14 2007 /lib/libncurses.so.6 > >> > > but do you have libncursesw.so.6 - note the 'w' > >=20 > > The most likely scenario is that he's trying to use a 6-stable > > package on 6.2. This something that people tend to get away with, > > but is not actually supported. > >=20 > > Either build the port or install the correct package. > > > I'm tracking 6-STABLE, and I only have /lib/libncurses.so.6.=20 > libcursesw.so.6 is listed as part of the compat6x port, perhaps > Roberth has installed a 7-CURRENT package built with compat6x? I'm guessing your 6-STABLE wasn't synced all that recently. There's a test in the nano makefile that make it use the wide (multi-byte character) version of curses (ie libncursesw) if the 6-stable or 7-current version is sufficiently recent. The fact that an up-to-date compat6x has libncursesw.so.6 tends to confirm this.