[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-users
Subject:    Re: invalid ELF class 2; expected 1
From:       Kamil Rytarowski <n54 () gmx ! com>
Date:       2019-06-10 10:07:51
Message-ID: 27e8d08c-f722-bec5-6675-57348e0935fc () gmx ! com
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


On 10.06.2019 03:31, Emmanuel Dreyfus wrote:
> Emmanuel Dreyfus <manu@netbsd.org> wrote:
> 
>> # ldd /usr/pkg/bin/screen-4.6.2
>> ldd: /usr/pkg/bin/screen-4.6.2: invalid ELF class 2; expected 1
>>
>> What does that mean? It seems to happen on amd64 but not on i386.
> 
> Replying to myself: This is an amd64 binary on a i386 userland, as a
> result of a botched update (i386 release unpacker on top of an amd64
> system).
> 

I can see the same for /usr/pkg/bin/pkglint

$ ldd /usr/pkg/bin/pkglint
ldd: /usr/pkg/bin/pkglint: invalid ELF class 2; expected 1

$ file /usr/pkg/bin/pkglint
/usr/pkg/bin/pkglint: ELF 64-bit LSB executable, x86-64, version 1
(NetBSD), dynamically linked, interpreter /libexec/ld.elf_so, for NetBSD
5.99, Go
BuildID=iRcVOVZu6Zp8tBlD-cX2/zX7_aUux5f5Zhp95bqWF/x0WLkIFy1svpITqGd5xI/pHmStGdG-KQcqmUnrW88,
not stripped


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic