CS:GO SourceMod & MetaMod Issues On Ubuntu 21.04

Overview

I have posted this issue on various forums and although I got some support, it didn’t solve the problem. Many hours later I have managed to get this working under Ubuntu Linux 21.04. Here is the original issue:

Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute

Sourcemod and Metamod won't load.

metamod-fail.log throws an error:
01/20/2022 - 18:09:46: Detected engine 11 but could not load: /home/csgoserver/serverfiles/bin/libgcc_s.so.1: version `GCC_7.0.0' not found (required by /lib/i386-lin

Required library is installed:
sudo apt-get install lib32stdc++6
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
lib32stdc++6 is already the newest version (11.1.0-1ubuntu1~21.04).

Missing Packages And A fix

Install the packages shown below to fix the issue. Don’t forget to spam your server address in the comments 😉

sudo apt-get install libc6:i386 lsb-core
sudo apt-get install lib32z1
sudo apt-get install ia32-libs
sudo apt install build-essential