I'm using Ubuntu 14.04. I'm trying to run Portal 2 game for Linux from Steam, and it's not working; when I run it from terminal I get this error:
error while loading shared libraries: libtcmalloc_minimal.so.4
How can I fix this?
The library is provided by the
libtcmalloc-minimal4 package which is available in repositories for 16.04 (and 16.10).
The game requires the 32-bit version of the library it seems (clue found in this GitHub issue) so if you're running a 64-bit system and haven't got any 32-bit packages, you'll need to run:
sudo dpkg --add-architecture i386
and then install with the
sudo apt install libtcmalloc-minimal4:i386