Re: Accidentally "upgraded" i386 to amd64

Martin Husemann <[email protected]> Wed, 2 Dec 2020 15:04:43 +0100
Newsgroups gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.ports.i386
Message-ID <[email protected]>
On Wed, Dec 02, 2020 at 06:56:40AM -0700, Andy Ruhl wrote:
> could not load libm387.so.0 for libm.so.0
> (this load error happens with various commands)

This is configured in /etc/ld.elf_so and the fix probably is to remove
that file completely.

For the pkgin issue: are you sure you updated pkgin itself too?
You could check with: file /usr/pkg/*bin/pkgin

Also double check or recreate everything in /dev
(like: cd /dev && sh MAKEDEV all)


Martin