current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

Lorenzo Salvadore phascolarctos at protonmail.ch
Wed Apr 1 15:29:00 UTC 2020


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday 1 April 2020 16:34, Julian H. Stacey <jhs at berklix.com> wrote:

> Hi, Reference:
>
> > From: Lorenzo Salvadore phascolarctos at protonmail.ch
> > Reply-to: Lorenzo Salvadore phascolarctos at protonmail.ch
> > Date: Wed, 01 Apr 2020 09:56:27 +0000
>
> Lorenzo Salvadore wrote:
>
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > On Wednesday 1 April 2020 02:22, Julian H. Stacey jhs at 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 suggested to
> > do that in another context and it worked for me. I gave the same suggestion
> > 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 using
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


More information about the freebsd-ports mailing list