protonscr

Missing library: libc.so.6

steamclosed reviewedDistro Family: UbuntuValve-provided steam package
ValveSoftware/steam-for-linux#3730 · opened 2015-02-22 by ghost · updated 2024-10-10 · 26 comments · github
1 matching comments, n / p to jump
?ghost 2015-02-22 github

Ubuntu 14.04.2 desktop 64-bit (clean fresh install)
default AMD radeon open source drivers
Steam client 1.0.0.49

Steam needs to install these additional packages:
libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386

[sudo] password for *****:
.................................................................................................
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.3)
unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Press return to continue:

You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6

Note: Everything was working fine on 14.04.1

Ssilasthefirst 2015-02-22 github

I have encountered the same missing libc.so.6 error as of yesterday.

Everything was working perfectly until the Feb 18th update.

In my case, Steam will launch, but some games are broken. For example, I can launch Borderlands 2 fine, Kingdom Rush, however, goes to a black screen, then closes.

I have purged Steam, re-installed from steampowered and from the Debian repos, checked all the symlinks, etc. Nothing has fixed the issue for me.

I am using Debian Jessie/Sid with libc6:i386 version 2.19

The only two interesting things that come up on to console are:
Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6

and

.steam/root/steam.sh: line 756: .steam/root/ubuntu12_32/steam: Too many levels of symbolic links

The latter comes when I close Steam.

?ghost 2015-02-23 github

Probably duplicate of #3728

Ggdrewb-valve maintainer 2015-02-23 github

Assigning separately just in case these are separate issues.

FFincer 2015-03-04 github

Confirming, I have this issue on Arch Linux 64-bit. Appeared after the latest Steam update.

#####################################

Running Steam on arch 64-bit
STEAM_RUNTIME has been set by the user to: /home/fincer/.local/share/Steam/ubuntu12_32/steam-runtime
Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6

/home/fincer/.steam/root/steam.sh: line 756: /home/fincer/.steam/root/ubuntu12_32/steam: Too many levels of symbolic links

#####################################

Eekner 2015-03-16 github

I can also confirm this, Ubuntu 15.04. It wants, exactly as dsx75 says, to install these packages: libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386

But when I try to apt-get them, it can't even find them.

Vvoyager2102 2015-04-01 github

Try echo $HOME and see if your $HOME ends in a slash. That was the problem with my installation - that made the check
if [ "$STEAMROOT" != "$STEAMROOTLINK" -a "$STEAMROOT" != "$STEAMDATALINK" ]; then
fail since /my/homedir//.steam... != /my/homedir/.steam...
After removing the / in /etc/passwd Steam found its libraries again and the looping root link fixed itself.

Mmdinger 2015-04-23 github

I installed these dependencies as prerequisites to building servo and it seems to have fixed this (on Ubuntu 14.04.2 LTS which I think was a new install):

sudo apt-get install curl freeglut3-dev \
    libfreetype6-dev libgl1-mesa-dri libglib2.0-dev xorg-dev \
    msttcorefonts gperf g++ cmake python-virtualenv \
    libssl-dev libbz2-dev libosmesa6-dev libxmu6 libxmu-dev

My guess is the fix was libgl1-mesa-dri or libosmesa6-dev but I'm not really sure as I didn't track it down.

Uunitindex-zero 2015-06-09 github

I was having this problem on newly installed 64-Bit Ubuntu 14.04.2 LTS.
Steam was having problem with these 3 packages:
libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386

I tried this command:
sudo apt-get install libc6:i386 libgl1-mesa-dri-lts-utopic:i386 libgl1-mesa-glx-lts-utopic:i386

This removed the problem regarding missing library libc.so.6 on my machine.

Tthankjura 2015-06-09 github

@voyager2102 thanks, this work.

Ttakeeast 2015-07-05 github

@voyager2102 This solution works for me! Thanks!

For the people who may have problems understanding the solution:

1. navigate to /etc/ and edit the text-file "passwd" as root
2. search for your username and you will find the path to your home directory in that line
3. change the path from .../path to your home directory**/** to .../path to your home directory (without the "/" at the end)
4. restart your computer

TTele42 2015-07-06 github

Alternatively, you could you the very old, very reliable utility usermod -m -d /home/username username which protects you, the sysadmin, from typos and other forms of chaos that could render your system inaccessible.

Ppilotforhire 2015-07-20 github

I can confirm @takeeast 's claim. My home directory was set to "/home/user/" and after I had fixed that to "/home/user" Steam started to work again. Conclusion: The problem is not a bug in steam but a wrong home directory string.

Vvoyager2102 2015-07-20 github

@pilotforhire: Your conclusion is wrong. The bug is in steam as the field you're talking about is defined as "Path to the user's home directory." or in longer form: "The home directory field provides the name of the initial working directory." In this context it does not matter if you specify a trailing slash or not and any program parsing this has to be aware of that.

The author of the script might have e.g. used readlink -f or a similar tool to canonicalize the path before using it.

?ghost 2015-07-31 github

Same problem with a fresh install of Ubuntu 14.04.2 64bits.

I install steam.deb package from this location : https://github.com/ValveSoftware/steam-for-linux.
Result :
You are missing the following 32-bit libraries, and Steam may not run: libc.so.6.
cccccccccc

Nota :
I successfully installed Steam via synaptic.

Ssteveklabnik 2015-10-10 github

I am getting this after an update today. I have installed all of these packages, and I have a /lib32/libc.so.6, so it's certainly there, I just don't know why steam can't find it :/

Ssteveklabnik 2015-10-10 github

Furthermore, running ldd on the contents of ~/.steam/bin shows no entries for it being missing, and several where it's properly linked.

FFincer 2015-11-07 github

Thanks voyager2102!

Simply changing

fincer:x:1000:1000::/home/fincer/:/bin/bash

to

fincer:x:1000:1000::/home/fincer:/bin/bash

in /etc/passwd file

and rebooting the computer fixed the issue for me. At last!

TTamaMcGlinn 2015-12-01 github

Same problem with a fresh install of Ubuntu 14.04.1 64-bit. $HOME does not end in / so voyager's fix won't work. Trying to install libgl1-mesa-dri gives the same error about a dependency that cannot be resolved, so narenlegha and mdinger's fix doesn't work.

My fix was:

  • This tells you what to put instead of "lts-vivid" for your machine

    dpkg -l | grep xserver-xorg-core

  • Run the following with your substitution for lts-vivid (two places)

    sudo apt-get install xserver-xorg-lts-vivid libgl1-mesa-glx-lts-vivid:i386

So, for example, if dpkg -l | grep xserver-xorg-core gives you:

ii  xserver-xorg-core-lts-trusty                           2:1.17.1-0ubuntu3~trusty1                           amd64        Xorg X server - core server

you should run:

sudo apt-get install xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty:i386
MMyMomSaysIAmSpecial 2016-08-28 github
?ghost 2017-03-06 github

Just tried to install Steam using the deb package. Same problem as everyone.
I use Linux Debian Jessie 8, kernel version 3.16.0-4 (64 bits) and my desktop is KDE4.
I tried literally everything stated in this page. Nothing works. The program still reports unmet dependencies:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libgl1-mesa-dri:i386 : Depends: libllvm3.5:i386 but it is not going to be installed
Recommends: libtxc-dxtn-s2tc0:i386 but it is not going to be installed or
libtxc-dxtn0:i386
E: Unable to correct problems, you have held broken packages.
Press return to continue:

When trying to install: libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386

Steam will not continue without these libraries.

I tried using steamcmd.sh, it says "./steamcmd.sh: line 29: /home/[user]/steamcmd2/linux32/steamcmd: No such file or directory".

I tried installing the libraries manually. Same issue as above (unmet dependencies).

I tried the symbolic links. It didn't work.

My passwd user entry does not end with a slash (/). It makes no difference.

Kkisak-valve maintainer 2017-03-06 github

Hello @Senjihakku, you might have more success installing steam on Debian by using their guide at https://wiki.debian.org/Steam, however, the message it is giving you may also be accurate and there a package conflict that needed to be figured out and the package manager is preventing the system from becoming more broken.

Wwb7odyfred 2019-01-30 github

From starting the Steam Client, I Got error MIssing library: libc.so.6 for http://Q4OS.org Debian 9 Stretch Linux. Changed user from "steam" to "normal_User_Name" to issue command sudo apt-get install. See Stretch package URL for details. dpkg add 32 bit architecture
whoami
steam
su normal_User_Name
password: xxxxx
whoami
normal_User_Name
sudo dpkg --add-architecture i386 # Steam needs Debian 32 bit libraries
sudo apt-get update
sudo apt-get install libc6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386

Stretch package for Libgl1-mesa-dri

GGZGavinZhao 2021-02-01 github

On Lenovo Chromebook Duet, with Linux(beta) enabled, arm64
When I attempt to launch Steam, it tells me that I'm missing the 32-bit library libc.so.6, so I can't even open Steam.
I assume it's because libc6 simply doesn't have an armV7 distribution. Maybe the problem will be solved once Steam doesn't require the 32-bit library, or when libc6 will have a distribution for armV7.

Kkisak-valve maintainer 2021-02-01 github

Hello @GZGavinZhao, Steam is not available for ARM based systems and #4061 is a better match to the issue you've encountered.

It looks like the problem tracked here was a system config issue and the reporting user has turned into a ghost. Closing.

Wwvandolen 2024-10-10 github

bro i need help. anyone out there? thanks.

Nothing extracted yet.