Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2020 15:28:20 +0000
From:      Lorenzo Salvadore <phascolarctos@protonmail.ch>
To:        "Julian H. Stacey" <jhs@berklix.com>
Cc:        ports@freebsd.org
Subject:   Re: current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox
Message-ID:  <0PC6QUWTWClbYo6o1bhoYUjmXmYYT1R-Qi9YVkHwnfYsAWqTcyEOvmYqkbSV7O3ucXCbQHipc-LMEEoojJIPTL1KyzpHGJhOsbHX8KjvGmc=@protonmail.ch>
In-Reply-To: <202004011434.031EYC2n022879@fire.js.berklix.net>
References:  <202004011434.031EYC2n022879@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me=
ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90
On Wednesday 1 April 2020 16:34, Julian H. Stacey <jhs@berklix.com> wrote:

> Hi, Reference:
>
> > From: Lorenzo Salvadore phascolarctos@protonmail.ch
> > Reply-to: Lorenzo Salvadore phascolarctos@protonmail.ch
> > Date: Wed, 01 Apr 2020 09:56:27 +0000
>
> Lorenzo Salvadore wrote:
>
> > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Origina=
l Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=
=90
> > On Wednesday 1 April 2020 02:22, Julian H. Stacey jhs@berklix.com wrote=
:
> >
> > > Hi ports@
> > > A libcurses version problem:
> > > Running 13.0-CURRENT with
> > > /usr/src
> > > cat .svn_revision 359319
> > > cat .ctm_status src-cur 14430
> > > /usr/ports
> > > cat .svn_revision 529842
> > > cat .ctm_status ports-cur 13423
> > > After
> > > pkg upgrade
> > > pkg autoremove
> > > xterm & firefox failed with
> > > ld-elf.so.1: Shared object "libncurses.so.8" not found, required by "=
xterm"
> > > Fixed temporarily with:
> > > cd /lib ; ln -s libncurses.so.9 libncurses.so.8 ; ldconfig -R
> >
> > I think the recommended fix is to install misc/compat12x. I was suggest=
ed to
> > do that in another context and it worked for me. I gave the same sugges=
tion
> > to someone else with the same problem and it also worked.
> > Cheers,
> > Lorenzo Salvadore
>
> Thanks Lorenzo that worked, confirmed by
> cd /lib ; mv libncurses.so.8 libncurses.so.8.jhs
> cd /usr/ports/misc/compat12x ; make install ; reboot
>
> To identify package name for others:
> make package
> produces
> /usr/ports/packages/All/compat12x-amd64-12.1.1201000.20200220.txz
> however no
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-current/All
> & I dont see
> "man pkg-info"
> has an option to list what's available on repository
> (Eventualy I found
> http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/
> with
> compat12x-amd64-12.1.1201000.20200220.txz
> pkg install compat12x-amd64-12.1.1201000.20200220
> The most recent versions of packages are already installed
> Which confirms the pkg name.)

Please note however that in most cases you should not need compat12x.
What is normally needed is to rebuild all the ports that depend on ncurses
on your system. When this is not possible, for example because instead of u=
sing
ports you use an out of date package repository that you cannot update or
because you install a port that needs "hand made" packages (such as
i386-wine or i386-wine-devel), then you need compat12x.

It seems xterm and firefox are up to date in the official repository:
http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/ . I do not know how the
ports are built, it might be that they use some "hand made" packages.

Lorenzo Salvadore



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0PC6QUWTWClbYo6o1bhoYUjmXmYYT1R-Qi9YVkHwnfYsAWqTcyEOvmYqkbSV7O3ucXCbQHipc-LMEEoojJIPTL1KyzpHGJhOsbHX8KjvGmc=>