Subject: Re: latest releng 1-6-1 release
To: None <tech-misc@NetBSD.ORG>
From: MLH <MLH@goathill.org>
List: tech-misc
Date: 08/09/2003 14:21:30
On 9 Aug 2003 05:05:01 -0500, James Chacon wrote:
> Also, what shell are you running inside the chroot?

I tried /bin/sh, /bin/ksh, /bin/csh and they all behave the same.
 
> James
> 
>>
>>On Sat, Aug 09, 2003 at 12:23:34AM +0000, MLH wrote:
>>> # ldd /usr/bin/more
>>> /usr/bin/more:
>>>          -ltermcap.0 => /usr/lib/libtermcap.so.0
>>>          -lc.12 => /usr/lib/libc.so.12
>>
>>So /usr/bin/more is *not* linked against "/usr/lib/libkver.so".
>>
>>> # /usr/bin/more
>>> Cannot open "/usr/lib/libkver.so"
>>
>>There is something else broken. Since "ldd" itself works (and is dynamically
>>linked), it's probably not ld.elf_so that's broken.
>>
>>Can you try some other binaries, that do not use libtermcap? Like /usr/bin/tee,
>>/usr/bin/du?

# ldd /usr/bin/tee
/usr/bin/tee:
         -lc.12 => /usr/lib/libc.so.12
# /usr/bin/tee
Cannot open "/usr/lib/libkver.so"
# ldd /usr/bin/du
/usr/bin/du:
         -lc.12 => /usr/lib/libc.so.12
# /usr/bin/du
Cannot open "/usr/lib/libkver.so"

Most of the /usr/bin binaries exhibit this, but not all:

# /usr/bin/zcat
zcat: compressed data not read from a terminal. Use -f to force decompression.

# ls -l /usr/lib/libterm*
-r--r--r--  1 root  wheel   9476 Aug  6 07:08 /usr/lib/libtermcap.a
lrwxr-xr-x  1 root  wheel     17 Aug  6 07:08 /usr/lib/libtermcap.so ->
libtermcap.so.0.5
lrwxr-xr-x  1 root  wheel     17 Aug  6 07:08 /usr/lib/libtermcap.so.0 ->
libtermcap.so.0.5
-r--r--r--  1 root  wheel  11567 Aug  6 07:08 /usr/lib/libtermcap.so.0.5
-r--r--r--  1 root  wheel  10150 Aug  6 07:08 /usr/lib/libtermcap_p.a
-r--r--r--  1 root  wheel  10106 Aug  6 07:08 /usr/lib/libtermcap_pic.a
lrwxr-xr-x  1 root  wheel     12 Aug  6 07:08 /usr/lib/libtermlib.a ->
libtermcap.a
lrwxr-xr-x  1 root  wheel     13 Aug  6 07:08 /usr/lib/libtermlib.so ->
libtermcap.so
lrwxr-xr-x  1 root  wheel     15 Aug  6 07:08 /usr/lib/libtermlib.so.0 ->
libtermcap.so.0
lrwxr-xr-x  1 root  wheel     17 Aug  6 07:08 /usr/lib/libtermlib.so.0.5 ->
libtermcap.so.0.5
lrwxr-xr-x  1 root  wheel     14 Aug  6 07:08 /usr/lib/libtermlib_p.a ->
libtermcap_p.a
lrwxr-xr-x  1 root  wheel     16 Aug  6 07:08 /usr/lib/libtermlib_pic.a ->
libtermcap_pic.a

This looks precisely the same as my real 1.6.1 from:

NetBSD 1.6.1_STABLE (GENERIC) #0: Tue Jun 24 01:03:13 UTC 2003
    autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/i386/OBJ/autobuild/
  netbsd-1-6/src/sys/arch/i386/compile/GENERIC