Subject: port-sun3/20288: vi fail on 1.6.1 sun3 miniroot
To: None <gnats-bugs@gnats.netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 02/10/2003 19:24:07
>Number:         20288
>Category:       port-sun3
>Synopsis:       vi fail on 1.6.1 sun3 miniroot
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-sun3-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 10 10:25:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_RC1
>Organization:

>Environment:
	NetBSD 1.6.1_RC1 (INSTALL) #0: Mon Feb 10 04:28:34 UTC 2003
   autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/sun3/OBJ/autobuild/netbsd-1-6/src/sys/arch/sun3/compile/INSTALL

downloaded from releng.netbsd.org:/pub/NetBSD-daily/netbsd-1-6/200302080000/sun3/installation/miniroot/

>Description:
	From the sun3 minoroot shell:
# vi
Shared object "libcurses.so.5" not found
	this is annoying because the shell-based installer propose to edit some
files before installation.

# ls /usr/lib
ld.elf_so       libcurses.so    libedit.so.2    libutil.so
libc.so         libcurses.so.4  libtermcap.so   libutil.so.6
libc.so.12      libedit.so      libtermcap.so.0
	a symlink libcurses.so.5 -> libcurses.so.4 gives a working vi (at last
enouth to edit /etc/hosts).

>How-To-Repeat:
	boot sun3 minoroot, anserw y when the installer ask:
Would you like to edit the host table?

>Fix:
	this is probably enouth:
Index: list
===================================================================
RCS file: /cvsroot/src/distrib/sun3/miniroot/list,v
retrieving revision 1.2.2.2
diff -u -r1.2.2.2 list
--- list	2002/06/10 16:32:18	1.2.2.2
+++ list	2003/02/10 18:23:10
@@ -131,7 +131,7 @@
 COPY	${DESTDIR}/usr/lib/libc.so		usr/lib/libc.so
 LINK	usr/lib/libc.so				usr/lib/libc.so.12
 COPY	${DESTDIR}/usr/lib/libcurses.so		usr/lib/libcurses.so
-LINK	usr/lib/libcurses.so			usr/lib/libcurses.so.4
+LINK	usr/lib/libcurses.so			usr/lib/libcurses.so.5
 COPY	${DESTDIR}/usr/lib/libedit.so		usr/lib/libedit.so
 LINK	usr/lib/libedit.so			usr/lib/libedit.so.2
 COPY	${DESTDIR}/usr/lib/libtermcap.so	usr/lib/libtermcap.so
>Release-Note:
>Audit-Trail:
>Unformatted: