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

Julian H. Stacey jhs at berklix.com
Wed Apr 1 00:23:14 UTC 2020


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

It's 6.1 in ports:
 cd /usr/ports/devel/ncurses ; make ;  find . -name \*libncurses.so\* | sort
 ./work/ncurses-6.1-20190525/build.nowidec/lib/libncurses.so
 ./work/ncurses-6.1-20190525/build.nowidec/lib/libncurses.so.6
 ./work/ncurses-6.1-20190525/build.nowidec/lib/libncurses.so.6.1
 ./work/stage/usr/local/lib/libncurses.so
 ./work/stage/usr/local/lib/libncurses.so.6
 ./work/stage/usr/local/lib/libncurses.so.6.1

cd /usr/src; find . -name \*libncurses\* # Nothing

ls -l /lib
lrwxr-xr-x  1 root  wheel      15 Mar 31 23:27 libncurses.so.8@ -> libncurses.so.9
-r--r--r--  1 root  wheel  399240 Mar 31 13:45 libncurses.so.9
-r--r--r--  1 root  wheel  457528 Mar 31 13:45 libncursesw.so.9

ls -l /usr/local/lib/*libncurses*
-rw-r--r--  1 root  wheel  161144 Mar 31 23:31 libncurses++.a
-rw-r--r--  1 root  wheel  161160 Mar 31 23:31 libncurses++w.a
-rw-r--r--  1 root  wheel  318044 Mar 31 23:31 libncurses.a
-rw-r--r--  1 root  wheel      44 Mar 31 23:31 libncurses.so
lrwxr-xr-x  1 root  wheel      17 Mar 31 23:31 libncurses.so.6@ -> libncurses.so.6.1
-rwxr-xr-x  1 root  wheel  164896 Mar 31 23:31 libncurses.so.6.1*
-rw-r--r--  1 root  wheel  421732 Mar 31 23:31 libncursesw.a
-rw-r--r--  1 root  wheel      46 Mar 31 23:31 libncursesw.so
lrwxr-xr-x  1 root  wheel      18 Mar 31 23:31 libncursesw.so.6@ -> libncursesw.so.6.1
-rwxr-xr-x  1 root  wheel  222096 Mar 31 23:31 libncursesw.so.6.1*

Next to look at /usr/src/
ObsoleteFiles.inc
	# 20200220: Upgrade of ncurses, shlib bumped to version 9
	OLD_LIBS+=lib/libncurses.so.8
lib/ncurses
contrib/ncurses

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
Limit Corona:  http://berklix.eu/corona/  Delay Brexit deals to fight Corona.


More information about the freebsd-ports mailing list