Fixing Steam on Linux "libc.so.6"

grrsona

Honorable
Feb 13, 2014
339
0
10,780
I just got linux and I downloaded steam adn ran the installer, however I get the error message:
"You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6". Does anyone know how to fix this so I can run steam?
 
Solution
Ok, a fresh install might make sense, the only command you should need to re-run in order to make steam install and work properly is :

sudo apt-get install libc6:i386 libgl1-mesa-dri-lts-vivid:i386 libgl1-mesa-glx-lts-vivid:i386

Just do that before you install the steam client and you should be fine.
I'd first try and see if you can get it through apt-get.

Open up the command line and type this in (without quotes):

"sudo apt-get install libc.so.6"

See if that can find the libraries for you. If it can you will be prompted to press 'y' to install the packages.
 


It said "unable to locate package libc.so.6
 
Allright, try this one --assuming you have 64-bit Ubuntu-- (again, without quotes):

"sudo ln -s /lib64/x86_64-linux-gnu/libc.so.6 /lib64/libc.so.6"

If that one doesn't work some people have success with this:

"sudo ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib/libc.so.6"

 


It said "target ‘/lib/libc.so.6’ is not a directory"

and the second one: "failed to create symbolic link ‘/lib/libc.so.6’: File exists"
 
sudo apt-get install libc6:i386 libgl1-mesa-dri-lts-vivid:i386 libgl1-mesa-glx-lts-vivid:i386

Run that in a terminal, then install steam normally. There are some 32bit dependency issues with the new hardware enablement stack.
 


Both gave error messages of not being able to find the files.

Also just to make sure where on the same page (im pretty new to ubuntu)

1. Downloaded steam installer
2. Ran it
3. Ran steam
4. Tells me I need to install 3 additional packages, I run that install in the terminal, then I get "E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages." I hit return and get the "missing following 32 bit libraries and steam may not run: libc.so.6"
 


Okay so it partially worked, I ran the code and steam started updating, however 2 things happened:
1. I got this "You are missing the following 32-bit libraries, and Steam may not run:
libXtst.so.6
libXrandr.so.2
libgobject-2.0.so.0
libglib-2.0.so.0
libgtk-x11-2.0.so.0
libpulse.so.0
libgdk_pixbuf-2.0.so.0
libbz2.so.1.0"
2. I ran out of space on my computer so I also need to configure the harddrive and delete my windows partition which is another war.
so I need more disk space to update, but ill worry about that after steam is fixed.
 


Thanks, incredibly helpful and interesting. Its closer to being fixed and im now getting a newer error message so ima call it progress. Anything you can do for the new error?
 
Oh dear, well the command I gave should of pulled in all the 32 bit libraries you needed, it could be one of your symlinks got messed up somehow. Could you run the command I posted earlier in a terminal again, and then paste the output here?
 


Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6:i386 is already the newest version.
libgl1-mesa-dri-lts-vivid:i386 is already the newest version.
libgl1-mesa-glx-lts-vivid:i386 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 95 not upgraded.
 


total 16
lrwxrwxrwx 1 cray cray 23 Oct 5 21:23 bin -> /home/cray/.steam/bin32
lrwxrwxrwx 1 cray cray 41 Oct 5 21:23 bin32 -> /home/cray/.local/share/Steam/ubuntu12_32
lrwxrwxrwx 1 cray cray 41 Oct 5 21:23 bin64 -> /home/cray/.local/share/Steam/ubuntu12_64
lrwxrwxrwx 1 cray cray 29 Oct 5 21:23 root -> /home/cray/.local/share/Steam
lrwxrwxrwx 1 cray cray 37 Oct 5 21:23 sdk32 -> /home/cray/.local/share/Steam/linux32
lrwxrwxrwx 1 cray cray 37 Oct 5 21:23 sdk64 -> /home/cray/.local/share/Steam/linux64
lrwxrwxrwx 1 cray cray 29 Oct 5 21:23 steam -> /home/cray/.local/share/Steam
-rw------- 1 cray cray 8822 Oct 5 20:05 steam_install_agreement.txt
-rw-rw-r-- 1 cray cray 6 Oct 5 21:23 steam.pid
prw------- 1 cray cray 0 Oct 5 21:08 steam.pipe

I tried running steam again, and after the messages telling me I didnt have enough disk space it went back to the missing these packages error message.
 
Ok, I was looking to see if it gave back /home/username/ instead of /home/username

The extra / on the end in the first example can cause issues. If that does not exist then I am not sure what the issue is, since all the libraries are there. You could try completely removing steam from your system, then reinstalling it, since the libraries it needed were installed after it was.

sudo apt-get remove --purge steam-launcher

The just reinstall as usual.
 


Okay uninstalled. Now I would like you to forget the next part but I need help with a little hiccup (rememeber I am brand new to ubuntu and have only been running it for a few hours) I deleted software center (unlocked from launcher) and I cant find it. And I cant re download it from ubuntu because I dont have the software center to download it to. My apologies I am absolutely useless at this.
 
the software center should still be there, just click on the dash button, usually on the top of the bar, and type in software, it should show up. Then you can right click it and add it back to your bar. Also instead of using software center to download steam, just go here : http://store.steampowered.com/ and click install steam at the top right, you can then download a newer version as a deb file. Once that is done just go to your downloads folder and right click the deb file, then open with ubuntu software center.