Subject: Re: Re: -2.0.1 makes bad binaries ?
To: Michael-John Turner <mj@turner.org.za>
From: Joel CARNAT <joel@carnat.net>
List: netbsd-users
Date: 01/25/2005 20:31:29
On Tue, Jan 25 2005 - 19:13, Michael-John Turner wrote:
> On Tue, Jan 25, 2005 at 05:16:30PM +0100, Joel CARNAT wrote:
> > I synced my cvs (netbsd-2-0) and switched from 2.0 to 2.0.1.
> > I started to recompile all my packages but they seem to be malformed...
> > For eg, bash now says :
> > bash: /usr/pkg/bin/bash: cannot execute binary file
>
> Just a thought, but did you include COMPAT_20 in your kernel
no - because 2.0_STABLE or 2.0.1 shouls be 2.0 native, no ?
I've tried to add COMPAT_20 on my home (2.0_STABLE) laptop (I'll do the
same of my working station tomorrow) and there are still errors :
$ which bash
/usr/pkg/bin/bash
$ file /usr/pkg/bin/bash
/usr/pkg/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for NetBSD 2.0, dynamically linked (uses shared libs), stripped
$ ldd /usr/pkg/bin/bash
/usr/pkg/bin/bash:
-lintl.0 => /usr/lib/libintl.so.0
$ /usr/pkg/bin/bash
/usr/pkg/bin/bash: 1: Syntax error: "(" unexpected
> config? See http://www.netbsd.org/Documentation/current/#what-to-do.
>
> -mj
> --
I've tried to remove "static" option from my mk.conf which resolves the problem...
$ file /usr/pkg/bin/bash
/usr/pkg/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for NetBSD 2.0, dynamically linked (uses shared libs), stripped
$ ldd /usr/pkg/bin/bash
/usr/pkg/bin/bash:
-lintl.0 => /usr/lib/libintl.so.0
-ltermcap.0 => /usr/lib/libtermcap.so.0
-lc.12 => /usr/lib/libc.so.12
I can't guess what's wrong... so lib build with this kernel ?
--
,- This mail runs ------.
`--------- NetBSD/i386 -'