mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-24 21:56:01 +03:00
[GH-ISSUE #991] ERROR: ld.so: object '/usr/lib/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. #786
Labels
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#786
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dgibbs64 on GitHub (Aug 10, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/991
Originally assigned to: @dgibbs64, @UltimateByte on GitHub.
Im am making this issue related to the following error as a couple of people are confusing it with other errors they are getting.
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.
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.
@dgibbs64 commented on GitHub (Aug 10, 2016):
Suggestions on this will be handy? Do you think reverting to unbuffer for 64-bit be the best solution?
@cedarlug commented on GitHub (Aug 10, 2016):
Reverting to unbuffer (or nothing if expect isn't installed) on 64-bit would provide the exact same functionality without the confusing error.
I've also been following the Debian bug reports on the issue, and it's close to a "won't fix", or at least a low-priority issue for those maintaining the package.
@dgibbs64 commented on GitHub (Aug 10, 2016):
OK. I will use unbuffer if available on 64-bit and stdbuf on 32 bit.
@kbgvirus commented on GitHub (Aug 11, 2016):
Still receiving this error, was the change comitted?
@UltimateByte commented on GitHub (Aug 11, 2016):
Nope, otherwise the issue would be closed. :)
@UltimateByte commented on GitHub (Aug 27, 2016):
Related : https://github.com/GameServerManagers/LinuxGSM/issues/915
@presteus commented on GitHub (Oct 6, 2016):
Do you have a workaround for this problem ?
This is my log if I could help
`
user@presteus:~$ ./csserver update
fetching command_update.sh...OK
[ .... ] Update cs-server: fetching update_steamcmd.sh...OK
[ OK ] Update cs-server: SteamCMD
ERROR: ld.so: object '/usr/lib/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded: ignored.
Redirecting stderr to '/home/user/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.
Connecting anonymously to Steam Public...Logged in OK
Waiting for license info...OK
Success! App '90' already up to date.
[ INFO ] Fix cs-server: Applying steamclient.so general fix: Counter-Strike 1.6cp: not writing through dangling symlink `/home/user/.steam/sdk32/steamclient.so'
[ERROR ] Fix cs-server: Applying steamclient.so general fix: Counter-Strike 1.6
user@presteus:~$ ./csserver force-update
[ OK ] Update cs-server: SteamCMD
ERROR: ld.so: object '/usr/lib/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded: ignored.
Redirecting stderr to '/home/user/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.
Connecting anonymously to Steam Public...Logged in OK
Waiting for license info...OK
Success! App '90' already up to date.
[ INFO ] Fix cs-server: Applying steamclient.so general fix: Counter-Strike 1.6cp: not writing through dangling symlink `/home/user/.steam/sdk32/steamclient.so'
[ERROR ] Fix cs-server: Applying steamclient.so general fix: Counter-Strike 1.6
user@presteus:~$ ./csserver update-functions
fetching command_update_functions.sh...OK
[ .... ] Update LGSM cs-server: Updating functions
checking check_config.sh...OK
checking check_deps.sh...OK
checking check_glibc.sh...OK
checking check_ip.sh...OK
checking check_logs.sh...OK
checking check_permissions.sh...UPDATE
fetching check_permissions.sh...OK
checking check_root.sh...OK
checking check.sh...UPDATE
fetching check.sh...OK
checking check_status.sh...OK
checking check_steamcmd.sh...UPDATE
fetching check_steamcmd.sh...OK
checking check_system_dir.sh...OK
checking check_system_requirements.sh...OK
checking command_install.sh...OK
checking command_start.sh...OK
checking command_stop.sh...OK
checking command_update_functions.sh...OK
checking command_update.sh...OK
checking core_dl.sh...OK
checking core_exit.sh...OK
checking core_functions.sh...UPDATE
fetching core_functions.sh...OK
checking core_getopt.sh...UPDATE
fetching core_getopt.sh...OK
checking core_messages.sh...OK
checking core_trap.sh...OK
checking fix.sh...OK
checking fix_steamcmd.sh...OK
checking info_config.sh...UPDATE
fetching info_config.sh...OK
checking info_distro.sh...OK
checking info_glibc.sh...UPDATE
fetching info_glibc.sh...OK
checking install_complete.sh...OK
checking install_config.sh...OK
checking install_header.sh...OK
checking install_logs.sh...OK
checking install_server_dir.sh...OK
checking install_server_files.sh...UPDATE
fetching install_server_files.sh...OK
checking install_steamcmd.sh...OK
checking logs.sh...OK
checking update_steamcmd.sh...OK
[ OK ] Update LGSM cs-server: Updating functions
user@presteus:~$ ./csserver update
[ OK ] Update cs-server: SteamCMD
ERROR: ld.so: object '/usr/lib/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded: ignored.
Redirecting stderr to '/home/user/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.
Connecting anonymously to Steam Public...Logged in OK
Waiting for license info...OK
Success! App '90' already up to date.
[ INFO ] Fix cs-server: Applying steamclient.so general fix: Counter-Strike 1.6cp: not writing through dangling symlink
/home/user/.steam/sdk32/steamclient.so' [ERROR ] Fix cs-server: Applying steamclient.so general fix: Counter-Strike 1.6@UltimateByte commented on GitHub (Oct 6, 2016):
@presteus Your "issue", if any, has nothing to do with the thing described here.
@presteus commented on GitHub (Oct 7, 2016):
@UltimateByte Sorry for my english, if my "issue" has do nothing with this post can you ask me where I can look to resolve this little problem ? Thank you in advance.
@UltimateByte commented on GitHub (Oct 7, 2016):
No problem. I suggest trying lgsm steam group or lgsm's discord.
We're gonna need some details though.
More info: https://github.com/GameServerManagers/LinuxGSM/wiki/Support
@UltimateByte commented on GitHub (Oct 20, 2016):
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.
@UltimateByte commented on GitHub (Oct 31, 2016):
Well, i tried unbuffer again to double check... Breaks steam double authentication that is almost compulsory nowadays. Then i tried unbuffer -p to make sure since it's the only available option, and it screwed with my SSH session wile exiting the installation with ctrl + c,: i had no more outputs from what i was typing into the SSH session, i had to re-open it (login/logout didn't do the trick).
So i just disabled stdbuf for x64 distros.
I'm assuming that all 64 bit distros return x86_64 from the
uname -mcommand for that matter.Tested working OK for my part, on Debian 8.6 x64.
@Clearmist commented on GitHub (Nov 8, 2016):
This issue still exists after the recent fix. The following is from a brand-new installation today.
Ubuntu 16.10 x64@UltimateByte commented on GitHub (Nov 8, 2016):
@clearmist it's not commited to master yet.
@lock[bot] commented on GitHub (Jul 19, 2018):
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.