Skip to content

Instantly share code, notes, and snippets.

@weinbrenner
Created January 4, 2022 07:18
Show Gist options
  • Save weinbrenner/7d83f7970162adbfb2b3b176699fbcb8 to your computer and use it in GitHub Desktop.
Save weinbrenner/7d83f7970162adbfb2b3b176699fbcb8 to your computer and use it in GitHub Desktop.
Fix CS.GO lib problem in Ubuntu 21.10
# After upgrading Ubuntu to 21.10 CS.GO in Steam for Linux stopped working
# (@see https://github.com/ValveSoftware/csgo-osx-linux/issues/2815
# and https://github.com/ValveSoftware/csgo-osx-linux/issues/2811
# )
# Here is how I fixed it:
# 0) Exit Steam, make sure it is not running anymore
$ ps aux | grep steam
# 1) download correct lib debian package:
$ apt download libtcmalloc-minimal4
# 2) extract that package (no need to install it!):
$ ar vx libtcmalloc-minimal4_2.9.1-0ubuntu2_amd64.deb
# 3) (optional) make a backup of the steam installed version of lib file
$ cd ~/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64
$ mv libtcmalloc_minimal.so.0 libtcmalloc_minimal.so.0.orig-steam
# 4) copy the lib from extracted deb package to steam folder
$ cp PATH_OF_EXTRACTED_DEBIAN_PACKAGE/libtcmalloc_minimal.so.4.5.9 ~/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libtcmalloc_minimal.so.0
# 5) Start Steam and enjoy your CS.GO again :)
Copy link

ghost commented Apr 11, 2022

Useless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment