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
  • 70,465
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,355
  • 17
  • 105
  • 120
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,236
  • 4
  • 48
  • 98
rancho
  • 4,036
  • Did everything, but synaptic marks only to uninstall steam no dependencies that I could see. – Pablo Jun 08 '16 at 01:31
  • This error on synaptic(spanish): ubuntu-drivers-common:i386: Depende: python3-apt pero no va a ser instalado Depende: python3-xkit but it is not installable Entra en conflicto: ubuntu-drivers-common pero se va a instalar 1:0.4.17.1 – Pablo Jun 08 '16 at 01:35
  • did you do sudo apt remove --purge steam? – rancho Jun 08 '16 at 12:48
  • Yes, what can I do next? think is driver problem? – Pablo Jun 08 '16 at 16:18
  • You can try apt install aptitude && aptitude -f install – rancho Jun 08 '16 at 16:45
  • When you do apt update do you get any broken package error? Try dpkg -- configure -a – rancho Jun 08 '16 at 16:47
  • after removing completely I get this: pablo@pablo-To-be-filled-by-O-E-M:~$ 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 – Pablo Jun 12 '16 at 01:16
  • No more lib problem, but still getting that error – Pablo Jun 12 '16 at 01:17
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,139
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

  • After this steam looks like this: pablo@pablo-To-be-filled-by-O-E-M:~$ steam update 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 – Pablo Jun 12 '16 at 01:10
  • still same error, everytime I download the .deb file from steam site terminal prompts "hit return to continue", I hit enter and the terminal closes and nothing happens. – Pablo Jun 13 '16 at 02:20