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

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.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (10 by maintainers)

Commits related to this issue

Most upvoted comments

@clearmist it’s not commited to master yet.

I’ll try to have a look today if i got enough time. Edit: Had to much to do for other issues, it’s still one of my two next priorities.