NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: invalid ELF class 2; expected 1



On 10.06.2019 03:31, Emmanuel Dreyfus wrote:
> Emmanuel Dreyfus <manu%netbsd.org@localhost> 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

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index