Error while loading shared libraries: libtcmalloc_minimal.so.4?
14,126
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
Related videos on Youtube
Author by
Danilo Ivanovic
Updated on September 18, 2022Comments
-
Danilo Ivanovic over 1 year
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?
-
Zanna about 7 yearsHave you tried installing the package? It's not installed by default. You'd use the command
sudo apt install libtcmalloc-minimal4
-
Danilo Ivanovic about 7 yearsYes . I forget to add. Under this line terminal writes
wrong ELF class: ELFCLASS64
too. -
Zanna about 7 yearsyou may need to run
sudo dpkg --add-architecture i386
and thensudo apt install libtcmalloc-minimal4:i386
*fingers crossed* (the last:i386
might not be necessary) -
Danilo Ivanovic about 7 years@Zanna Yeah it worked, thank you for help. And sorry you waited i had to try some levels. :D
-
Zanna about 7 yearshah no need to be sorry for that! great, glad that it worked!
-