Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2007 21:02:42 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Nano issue
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 02 Aug 2007 13:11:04 -0500
Reid Linnemann <lreid@cs.okstate.edu> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070802210242.6708a8d1>