mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 14:15:59 +03:00
[GH-ISSUE #1896] libstdc++6:i386 prerrequisite on 64bit debian #1491
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#1491
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 @draakuns on GitHub (May 8, 2018).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1896
Hi,
on my ubuntu 16.04.4 LTS 64bit server whenever I want to start, it always complains about libstdc++6:i386:
[ERROR ] Starting arma3server: Checking dependencies: missing: libstdc++6:i386
Well, this involves adding up the i386 arch on the package manager so it is inconvenient at all stages (for instance for a OS server update.
Instead of that, (at least in Deb based distros) you can omit this and ask to install the same 32bit libraries, which are packaged in the form of:
ii lib32stdc++6 5.4.0-6ubuntu1~16.04.9 amd64 GNU Standard C++ Library v3 (32 bit Version)
Can you please consider changing this prereq on this 64bit flavours? I have the lib32std++6 installed but it keeps annoying me with the error at boot time.
Thanks!
Draakuns
@UltimateByte commented on GitHub (May 8, 2018):
Hi,
Thanks for your interest in making LinuxGSM better.
We saw no inconvenients in distro behavior yet in adding the ability to install 32 bit packages in years of LinuxGSM. It's a 3 step command:
dpkg --add-architecture i386; apt update; apt install libstdc++6:i386Could you please explain a bit more why this would be an issue for you and should be changed for everybody?
Regards
@draakuns commented on GitHub (May 9, 2018):
Hi,
adding an additional arch is not an easy step for a lot of users, even if it is only performed on a 3-step command. For instance, release upgrades tend to fail a lot more because of this, even sometimes the upgrader itself disables the "additional" archs to do its job perfectly. Other caveats can be dependency problems (which luckily we don't see a lot of times, but when they happen are a pain in the ass), which with several archs added tend to get messy.
Also, I don't see the point in bothering adding a full arch (with the mess whenever you search packages) if the same package is available natively for 64bit as a "backwards" compat 32bit lib already.
Just my 2 cents, as I already said it's not a problem but an annoying meaningless warning for me. If it is complicated to add the feature, then maybe it's not worth it.
BR
Draakuns
@mattjacobsen commented on GitHub (May 15, 2018):
I'm on openmediavault, but it's really just debian jessie. I would like to avoid this as well. The 3 step command LinuxGSM suggests results in the following:
at which point I press Ctrl+C :-|
@draakuns commented on GitHub (May 16, 2018):
Hi,
I don't know which 3-steps you followed, but that is going to break your system 100% sure.
Edit: I see the 3steps... But before doing that commands, what is the outcome of apt-get autoremove ?
Maybe you have pending removals for autoinstalled software, even if I doubt that all that must be removed...
BR
Draakuns
@mattjacobsen commented on GitHub (May 17, 2018):
Hey @draakuns,
I solved my problem (getting a UT2004 dedicated server working for an upcoming LAN party) using your lib32stdc++6 package suggestion.
I didn't even know debian was capable of managing packages from multiple architectures until I read the LinuxGSM install guide, so I'm happy to have learned something new ;-)
Kind regards,
Matt
@draakuns commented on GitHub (May 18, 2018):
Hi @mattjacobsen
glad to hear that it fixed quickly your issue ;)
Yeah, you can install several archs but binary compatible are only x86-x64 if your device is intel 64bit (or armel/armhf/arm64 on ARM64 arch)... other archs are used for bootstrapping other devices you may be working with.
Best regards and enjoy the LAN party,
Draakuns
@dgibbs64 commented on GitHub (Jun 7, 2018):
As most servers are 32-bit i386 version is normally required. I was unaware that the x64 versions are also backwards compatible. This change would require quite a lot of testing to make sure stuff still works
@draakuns commented on GitHub (Jun 21, 2018):
Hi Dan,
it's not that they are backwards compatible. This package installs 32bit libraries (not a backwards compat 64bit lib), even if you have the 64bit environment. Therefore, it is the same as installing i386 arch and the libs, but without the hassle to add any architecture to the package manager (which is used only for 1 package).
Just using the current check that the 32bit arch & lib is installed (new code OR lib32stdc++6 is installed on x64) should do the trick.
Let me know if I can help in any possible way.
BR
Cristian.
@dgibbs64 commented on GitHub (Feb 16, 2020):
Having a look at this the i386 version is not installed with
libstdc++6The only other solution I found was to use
libstdc++6-i386-crosswhich would remove the need forsudo dpkg --add-architecture i386in most instance@draakuns commented on GitHub (Mar 3, 2020):
Hey!
Long time no see ;)
I still don't get why are you not just installing the
lib32stdc++6package, which provides 32bit stdc++6 libs...It provides:
/usr/lib32/libstdc++.so.6
/usr/lib32/libstdc++.so.6.0.25
Isn't it good enough for our purposes?
Edit: I still have to remove the dependency check for that lib on the scripts in order to be able to start the server, every time it gets updated...
BR
Cristian
@dgibbs64 commented on GitHub (Mar 5, 2020):
@draakuns Because I didn't see the lib
32stdc++6 part I am that used to just seeing libstdc++6 that I was word blind to it X-D. Makes more sense now. I will re-investigate it and should be able to implament this change. Thanks@github-actions[bot] commented on GitHub (Mar 18, 2021):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.