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?
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 :i386
suffix:
sudo apt install libtcmalloc-minimal4:i386
sudo apt install libtcmalloc-minimal4
– Zanna Apr 10 '17 at 8:18wrong ELF class: ELFCLASS64
too. – Danilo Ivanovic Apr 10 '17 at 19:48sudo dpkg --add-architecture i386
and thensudo apt install libtcmalloc-minimal4:i386
*fingers crossed* (the last:i386
might not be necessary) – Zanna Apr 10 '17 at 19:53