6

I'm using latest Ubuntu GNOME. When I download the steam-installer though software it works, after that nothing happens no update and it won't launch.

Here is the error message I get when I try to launch steam in a terminal:

$ steam
Running Steam on ubuntu
16.04 64-bit STEAM_RUNTIME is enabled automatically 
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
Installing breakpad exception handler for appid(steam)/version(1461972496)
libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast
Zanna
  • 72,312
Pablo
  • 202

4 Answers4

3

This worked finally (in terminal type):

mv ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1{,.disable}
mv ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6{,.disable}
mv ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libpcre.so.3{,.disable}
mv ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libpcre.so.3.12.1{,.disable}
Videonauth
  • 33,815
Pablo
  • 202
1

You need not download Steam installer as it is already present in official Ubuntu repository. Do the following:

1. Remove Steam, fix broken dependencies, update installed packages

sudo su
apt remove --purge steam
apt autoremove
apt -f install
apt update
apt upgrade

2.1 Option 1: Install Aptitude:

apt install aptitude
aptitude install steam

2.2 Option 2: install Synaptic:

apt install synaptic
synaptic

Synaptic pop up box appears. On search panel type steam. A number of apps appear in list. one of them is steam. click on the box immediate to it's left. It will ask for confirmation to install dependencies. Click yes. Click apply. After it has finished close the window.

3. If all fails remove libstdc++

cd ~/.local/share/Steam/ubuntu12_32/steam-runtime/
rm \
  amd64/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_amd64 \
  amd64/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_amd64.md5 \
  amd64/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_amd64 \
  amd64/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_amd64.md5 \
  amd64/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++_pic.a \
  amd64/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++_pic.map \
  amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6 \
  amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18 \
  amd64/usr/share/doc/libstdc++6 \
  amd64/usr/share/doc/libstdc++6-4.6-pic \
  i386/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_i386 \
  i386/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_i386.md5 \
  i386/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_i386 \
  i386/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_i386.md5 \
  i386/usr/lib/gcc/i686-linux-gnu/4.6/libstdc++_pic.a \
  i386/usr/lib/gcc/i686-linux-gnu/4.6/libstdc++_pic.map \
  i386/usr/lib/i386-linux-gnu/libstdc++.so.6 \
  i386/usr/lib/i386-linux-gnu/libstdc++.so.6.0.18 \
  i386/usr/share/doc/libstdc++6 \
  i386/usr/share/doc/libstdc++6-4.6-pic \
  ~/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/share/doc/libstdc++6

4. Remove libgcc_s

cd ~/.local/share/Steam/ubuntu12_32/steam-runtime/
rm \
  amd64/lib/x86_64-linux-gnu/libgcc_s.so.1 \
  i386/lib/i386-linux-gnu/libgcc_s.so.1

5. Also

 rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1

6. Then repeat either of the above methods

wjandrea
  • 14,504
rancho
  • 4,136
1
cd $HOME/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu
mv libstdc++.so.6 libstdc++.so.6.bak
cd $HOME/.steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu
mv libstdc++.so.6 libstdc++.so.6.bak

It worked for me

M.A.K. Ripon
  • 3,409
  • 3
  • 28
  • 36
0

You have to delete steam's own lib using:

find ~/.steam/root/ -name "libgpg-error.so*" -print -delete

Found solution here: https://bugs.archlinux.org/task/48994