Counter-Strike: Source

Counter-Strike: Source

Not enough ratings
How to fix a library error on newer versions of Linux?
By Mead Champion
Counter-Strike Source hasn't been updated for a long time and has become incompatible with newer versions of different Linux distributions. The game crashes whenever you launch it, and if you use a terminal, it displays an error that might look like this: "error while loading shared libraries: libtcmalloc_minimal.so.4: cannot open shared object file: No such file or directory". The game just wouldn't launch whatsoever.

If you've encountered the same issue, try this workaround that has helped me:
- Install Half-Life 2.
- Go to /steamapps/common/Half-Life 2/bin/
- Copy libmimalloc.so
- Then go to /steamapps/common/Counter-Strike Source/bin/
- Delete libtcmalloc_minimal.so.4
- Paste the previously copied libmimalloc.so
- Rename libmimalloc.so to libtcmalloc_minimal.so.4
- Launch CSS.

The game should work now. I hope this helps.
   
Award
Favorite
Favorited
Unfavorite