From owner-freebsd-questions@FreeBSD.ORG Fri Aug 3 13:12:08 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 A3AB816A418 for ; Fri, 3 Aug 2007 13:12:08 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from a.cs.okstate.edu (a.cs.okstate.edu [139.78.113.1]) by mx1.freebsd.org (Postfix) with ESMTP id 7ADE413C458 for ; Fri, 3 Aug 2007 13:12:08 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from [172.18.0.137] (unknown [70.168.226.150]) by a.cs.okstate.edu (Postfix) with ESMTP id A0E1AA0656; Fri, 3 Aug 2007 08:12:07 -0500 (CDT) Message-ID: <46B329A0.5090406@cs.okstate.edu> Date: Fri, 03 Aug 2007 08:12:00 -0500 From: Reid Linnemann User-Agent: Thunderbird 2.0.0.0 (X11/20070615) MIME-Version: 1.0 To: RW 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> <20070802210242.6708a8d1@gumby.homeunix.com.> In-Reply-To: <20070802210242.6708a8d1@gumby.homeunix.com.> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org 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: Fri, 03 Aug 2007 13:12:08 -0000 Written by RW on 08/02/07 15:02>> > 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: >>> >>>> At 07:25 AM 8/2/2007, Roberth Sjonøy wrote: >>>>> Hello, Ive just installed my prefered text >>>>> editor, nano, but when im going to run nano, this just appears: >>>>> /libexec/ld-elf.so.1: Shared object >>>>> "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' >>> >>> 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. >>> >>> Either build the port or install the correct package. >>> >> I'm tracking 6-STABLE, and I only have /lib/libncurses.so.6. >> 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. Yes, you are right. I hadn't synced since February.. my, how the time flies!