Balimbanana / SourceScripts

A repo for Source Engine related automated scripts.
11 stars 11 forks source link

Unable to locate package lib32gcc-s1 - Ubuntu 22.04 #2

Open Kmarksman opened 11 months ago

Kmarksman commented 11 months ago

Hi I am trying to use the syndsinstall.sh script on Ubuntu 22.04 to install the game server.

However, it is prompting me that is "Unable to locate package lib32gcc-s1" after attempting to "sudo apt-get install lib32gcc-s1" I am using a hosted Oracle Cloud server with Is there some fix or workaround for this?

I am using a hosted Oracle Cloud server with Ampere-ARM 4-OCPU, 24gb RAM.

Balimbanana commented 11 months ago

Ah, the script was not written for ARM. I am not entirely sure what the requirements are in that environment. You could try removing the check for that package up near the top of the script and see if it still works. If it does, I should be able to add a check for ARM and remove the package requirement.

The reason that package is there on 22.04 is mainly because of the development branch of Synergy which requires the latest GCC, which at that time was lib32gcc-s1

Kmarksman commented 11 months ago

Alright so after following this guide to get SteamCMD working with ARM: https://www.reddit.com/r/valheim/comments/s1os21/create_your_own_free_dedicated_server/?utm_source=share&utm_medium=web2x&context=3

^This guide uses libs such as libc6:armhf, libncurses5:armhf, libstdc++6:armhf bundled into box64 and box86 to get SteamCMD working. (like some 32 bit emulator for ARM?)

And this fix: https://www.reddit.com/r/valheim/comments/s1os21/comment/j38kc6e/?utm_source=share&utm_medium=web2x&context=3

And following these relative guides somewhat: https://steamcommunity.com/sharedfiles/filedetails/?id=1768069159 https://www.rodneybeede.com/games/howto_setup_synergy_half-life_2_dedicated_server_on_linux.html

Managed to get it all working. And yes after editing out the checks for those old lib files, your syndsinstall.sh script works.

Problem solved.

Kmarksman commented 11 months ago

Ok well it seems like using your syndsinstall.sh script to install SourceMod breaks the server and I'm not sure why. I'll add the console.log to see if that helps.

https://files.catbox.moe/7dtc0l.log

Also the bug fixes from linux server hosting listed here: https://steamcommunity.com/sharedfiles/filedetails/?id=1768069159 seem to fix mostly everything missing such as music, voicelines, etc. except for soundscapes it seems.

^Don't know if there's anything to fix that.