Skip to content

ERROR: ld.so: object '/usr/lib/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. #991

Description

@dgibbs64

Im am making this issue related to the following error as a couple of people are confusing it with other errors they are getting.

ERROR: ld.so: object '/usr/lib/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

To summarise. This issue occurs because stdbuf is 64-bit and SteamCMD is 32-bit. This means stdbuf does not work with SteamCMD on 64-bit systems.

ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Redirecting stderr to '/home/lgsm/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...Created shared memory when not owner SteamController_Shared_mem
OK.

This is related to the issue

https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1440933.html

I have tested this and confirmed stdbuf does fail on x64. However should work on x86. unbuffer does however work. Ideally stdbuf working with 64-bit apps would be great however its up to the distro maintainers to fix.

Metadata

Metadata

Labels

type: bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions