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

Julian H. Stacey jhs at berklix.com
Wed Apr 1 15:22:04 UTC 2020


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.)

Suggestion: to man pkg-info we should add to SEE ALSO http://pkg.freebsd.org

Cheers
--
Julian Stacey, Consultant Systems Engineer, BSD Linux http://berklix.com/jhs/
UK stole 750,000 votes from EU Brits:  http://stolenvotes.uk
http://petition.parliament.uk/petitions/300059 http://berklix.uk/brexit/#russia
http://berklix.eu/corona/#brexit  Delay Brexit 31 Dec 2020 better fight Corona.


More information about the freebsd-ports mailing list