You are not logged in.

#1 2015-03-12 22:48:18

Blaxar
Member
Registered: 2011-12-30
Posts: 8

[SOLVED] Steam: missing libc.so.6 (or is it ?)

Hello there,

First of all, I'm well aware of this thread  which refers to the same kind of error: when I run Steam I get this message:

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

It's a little bit different this time, in the way that it's not a strictly blocking error: I still have the Steam client displayed but I also get this message to pop up in another window shortly thereafter (I can close it though), launching the client from a terminal doesn't change much, it displays various stuff in it, but nothing directly related to this error (as far as I can tell):

[blax@blax-arch ~]$ steam
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
Installing breakpad exception handler for appid(steamwebhelper)/version(20150218153139)
Installing breakpad exception handler for appid(steamwebhelper)/version(1424273499)
Installing breakpad exception handler for appid(steamwebhelper)/version(20150218153139)
Installing breakpad exception handler for appid(steamwebhelper)/version(1424305157)
Installing breakpad exception handler for appid(steamwebhelper)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
FillInMachineIDInfo took a total of 0 milliseconds
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)
Installing breakpad exception handler for appid(steam)/version(1424305157)

** (steam:16816): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory.

** (steam:16816): WARNING **: Error enabling/disabling networking: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory.
Installing breakpad exception handler for appid(steam)/version(1424305157)
Generating new string page texture 2: 48x256, total string texture memory is 49.15 KB
Generating new string page texture 3: 384x256, total string texture memory is 442.37 KB
Installing breakpad exception handler for appid(steam)/version(1424305157)

(steam:16816): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(steam:16816): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:1163: error: unexpected identifier `direction', expected character `}'
Installing breakpad exception handler for appid(steam)/version(1424305157)
Adding licenses for the following package(s): 0, 25, 218, 237, 252, 292, 452, 515, 606, 636, 715, 717, 829, 943, 978, 992, 1064, 1295, 1465, 1678, 1685, 1774, 1787, 1957, 1958, 2105, 2196, 2201, 2487, 2584, 2741, 2744, 2916, 3045, 4061, 4109, 4155, 4772, 6098, 6208, 6222, 6271, 6516, 6544, 6749, 6896, 6951, 7253, 7353, 7477, 7522, 7706, 8185, 8186, 8233, 8423, 8456, 8861, 8866, 8959, 11055, 11443, 11588, 11649, 11677, 11691, 11733, 11793, 11829, 11860, 12079, 12169, 12283, 12284, 12361, 12369, 12370, 12465, 12529, 12558, 12572, 12573, 13054, 13182, 13326, 13327, 13422, 13602, 13616, 13643, 13734, 13735, 14217, 14218, 14633, 14695, 14734, 14870, 14871, 14938, 14977, 15136, 15190, 15407, 15479, 15638, 15998, 16020, 16342, 16360, 16373, 16535, 16549, 16586, 16610, 16738, 16767, 17347, 17607, 17631, 17843, 17933, 18109, 18110, 18177, 18501, 18629, 18769, 19094, 19223, 21341, 21346, 25597, 26509, 26827, 26928, 27227, 27322, 27968, 28021, 28315, 28479, 29013, 29547, 29748, 30352, 30542, 30669, 30960, 32848, 34795, 35268, 37180, 55833, 59273, 61119, 61131, 61363, 62024, 62892, 62894, 62922, 62923, 62924, 62925, 62926, 62927
roaming config store loaded successfully - 7907 bytes.
migrating temporary roaming config store
Installing breakpad exception handler for appid(steam)/version(1424305157)
[0312/214433:ERROR:browser_main_loop.cc(218)] GTK theme error: Unable to locate theme engine in module_path: "adwaita",
[0312/214433:ERROR:browser_main_loop.cc(218)] GTK theme error: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:1163: error: unexpected identifier `direction', expected character `}'
Installing breakpad exception handler for appid(steam)/version(1424305157)
ExecCommandLine: ""/home/blax/.local/share/Steam/ubuntu12_32/steam" "
Installing breakpad exception handler for appid(steam)/version(1424305157)
System startup time: 13.83 seconds
Running Steam on arch rolling 64-bit
STEAM_RUNTIME has been set by the user to: /home/blax/.local/share/Steam/ubuntu12_32/steam-runtime
Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
Opening joystick Tech Mobility
[0312/214433:ERROR:renderer_main.cc(227)] Running without renderer sandbox
Generating new string page texture 71: 1024x256, total string texture memory is 1.49 MB
Generating new string page texture 72: 128x256, total string texture memory is 131.07 KB
Generating new string page texture 73: 128x256, total string texture memory is 1.62 MB
Generating new string page texture 74: 256x256, total string texture memory is 1.88 MB
Generating new string page texture 75: 64x256, total string texture memory is 1.95 MB
Generating new string page texture 76: 8x256, total string texture memory is 1.96 MB
Generating new string page texture 77: 32x256, total string texture memory is 1.99 MB
Generating new string page texture 83: 128x256, total string texture memory is 2.12 MB
Generating new string page texture 85: 512x256, total string texture memory is 2.65 MB
Generating new string page texture 86: 128x256, total string texture memory is 2.78 MB
Generating new string page texture 87: 256x256, total string texture memory is 3.04 MB
Generating new string page texture 124: 64x256, total string texture memory is 3.10 MB
Generating new string page texture 125: 256x256, total string texture memory is 3.37 MB
Generating new string page texture 126: 128x256, total string texture memory is 3.50 MB
CAPIJobRequestUserStats - Server response failed 2
Installing breakpad exception handler for appid(steam)/version(1424305157)
Generating new string page texture 180: 48x256, total string texture memory is 3.55 MB
process 16816: The last reference on a connection was dropped without closing the connection. This is a bug in an application. See dbus_connection_unref() documentation for details.
Most likely, the application was supposed to call dbus_connection_close(), since this is a private connection

I've made various checks, as suggested in the first thread, here's a bunch of results:

$ pacman -Qo /usr/lib/libc.so.6
/usr/lib/libc.so.6 is owned by glibc 2.21-2

$ ls -l /usr/lib32/libc.so.6
lrwxrwxrwx 1 root root 12 Feb 12 01:15 /usr/lib32/libc.so.6 -> libc-2.21.so

$ ls -l /usr/lib32/libc-2.21.so
-rwxr-xr-x 1 root root 2045668 Feb 12 01:15 /usr/lib32/libc-2.21.so

Following what the dude in the first thread went through: the error-raising portion of the script is in /home/blax/.local/share/Steam/steam.sh:

function get_missing_libraries()
{
	# Make sure to turn off injected dependencies (LD_PRELOAD) when running ldd
	if ! LD_PRELOAD= ldd "$1" >>/dev/null 2>&1; then
		# We couldn't run the link loader for this architecture
		echo "libc.so.6"
	else
		LD_PRELOAD= ldd "$1" | grep "=>" | grep -v linux-gate | grep -v / | awk '{print $1}' || true
	fi
}

function check_shared_libraries()
{
	if [ -f "$STEAMROOT/$PLATFORM/steamui.so" ]; then
		MISSING_LIBRARIES=$(get_missing_libraries "$STEAMROOT/$PLATFORM/steamui.so")
	else
		MISSING_LIBRARIES=$(get_missing_libraries "$STEAMROOT/$PLATFORM/$STEAMEXE")
	fi
	if [ "$MISSING_LIBRARIES" != "" ]; then
		show_message --error $"You are missing the following 32-bit libraries, and Steam may not run:\n$MISSING_LIBRARIES"
	fi
}

It has slightly changed in two years, but it does the same.
From what I see there: it seems that libc.so.6 will be designated as culprit on the account of the ldd stuff not returning anything (??) and not necessary because the library is actually missing (same as the last thread).

I've also tried to run the command of the test:

$ echo $(ldd ".local/share/Steam/ubuntu12_32/steamui.so" >>/dev/null 2>&1)
 (empty line, nothing displayed)

This doesn't help me much, however if I do this:

$ echo $(ldd ".local/share/Steam/ubuntu12_32/steamui.so" 2>&1)
linux-gate.so.1 (0xf77a2000) libtier0_s.so => not found libv8.so => not found libvideo.so => not found libvstdlib_s.so => not found libSDL2-2.0.so.0 => /usr/lib32/libSDL2-2.0.so.0 (0xf646e000) libXtst.so.6 => /usr/lib32/libXtst.so.6 (0xf6467000) libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf6461000) libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf6456000) libXext.so.6 => /usr/lib32/libXext.so.6 (0xf6441000) libX11.so.6 => /usr/lib32/libX11.so.6 (0xf6309000) libGL.so.1 => /usr/lib32/libGL.so.1 (0xf61ea000) libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf618d000) libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf6066000) libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0xf5b7b000) librt.so.1 => /usr/lib32/librt.so.1 (0xf5b71000) libpulse.so.0 => /usr/lib32/libpulse.so.0 (0xf5b16000) libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf5aea000) libm.so.6 => /usr/lib32/libm.so.6 (0xf5a9d000) libdl.so.2 => /usr/lib32/libdl.so.2 (0xf5a98000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf59a2000) libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf5985000) /usr/lib/ld-linux.so.2 (0xf77a3000) libc.so.6 => /usr/lib32/libc.so.6 (0xf57cb000) libXi.so.6 => /usr/lib32/libXi.so.6 (0xf57b8000) libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf57ad000) libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf5786000) libnvidia-tls.so.346.47 => /usr/lib32/libnvidia-tls.so.346.47 (0xf5781000) libnvidia-glcore.so.346.47 => /usr/lib32/libnvidia-glcore.so.346.47 (0xf30f6000) libpcre.so.1 => /usr/lib32/libpcre.so.1 (0xf3083000) libffi.so.6 => /usr/lib32/libffi.so.6 (0xf307a000) libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf2fb9000) libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf2fb4000) libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf2fa6000) libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf2f7e000) libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf2e1e000) libgio-2.0.so.0 => /usr/lib32/libgio-2.0.so.0 (0xf2c69000) libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf2c52000) libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf2c01000) libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf2bc5000) libjson-c.so.2 => /usr/lib32/libjson-c.so.2 (0xf2bb8000) libpulsecommon-6.0.so => /usr/lib32/pulseaudio/libpulsecommon-6.0.so (0xf2b2f000) libdbus-1.so.3 => /usr/lib32/libdbus-1.so.3 (0xf2ad8000) libpng16.so.16 => /usr/lib32/libpng16.so.16 (0xf2a99000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf2a7e000) libXau.so.6 => /usr/lib32/libXau.so.6 (0xf2a7a000) libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf2a72000) libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf2a6e000) libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf2a63000) libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf2a5f000) libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf2a5b000) libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf2a57000) libharfbuzz.so.0 => /usr/lib32/libharfbuzz.so.0 (0xf29fa000) libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf2937000) libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf2884000) libEGL.so.1 => /usr/lib32/libEGL.so.1 (0xf27e4000) libxcb-shm.so.0 => /usr/lib32/libxcb-shm.so.0 (0xf27df000) libxcb-render.so.0 => /usr/lib32/libxcb-render.so.0 (0xf27d4000) libz.so.1 => /usr/lib32/libz.so.1 (0xf27bd000) libresolv.so.2 => /usr/lib32/libresolv.so.2 (0xf27a4000) libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf277b000) libsystemd.so.0 => /usr/lib32/libsystemd.so.0 (0xf2740000) libsndfile.so.1 => /usr/lib32/libsndfile.so.1 (0xf26c7000) libasyncns.so.0 => /usr/lib32/libasyncns.so.0 (0xf26c0000) libbz2.so.1.0 => /usr/lib32/libbz2.so.1.0 (0xf26af000) libnvidia-glsi.so.346.47 => /usr/lib32/libnvidia-glsi.so.346.47 (0xf2627000) libcap.so.2 => /usr/lib32/libcap.so.2 (0xf2622000) liblzma.so.5 => /usr/lib32/liblzma.so.5 (0xf25f5000) libgcrypt.so.20 => /usr/lib32/libgcrypt.so.20 (0xf2545000) libgpg-error.so.0 => /usr/lib32/libgpg-error.so.0 (0xf2531000) libFLAC.so.8 => /usr/lib32/libFLAC.so.8 (0xf24ae000) libvorbisenc.so.2 => /usr/lib32/libvorbisenc.so.2 (0xf2421000) libnsl.so.1 => /usr/lib32/libnsl.so.1 (0xf2406000) libattr.so.1 => /usr/lib32/libattr.so.1 (0xf2400000) libogg.so.0 => /usr/lib32/libogg.so.0 (0xf23f8000) libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0xf23cc000)

We can see I have missing (presumably 32-bits) libraries:

libtier0_s.so => not found libv8.so => not found libvideo.so => not found libvstdlib_s.so => not found

More interesting, here's where those libs are located on my system:

[blax@blax-arch ~]$ find . -name "libtier0_s.so"
./.local/share/Steam/ubuntu12_32/libtier0_s.so
./.local/share/Steam/SteamApps/common/Natural Selection 2/libtier0_s.so
./.local/share/Steam/SteamApps/common/Borderlands 2/libtier0_s.so
./.local/share/Steam/SteamApps/common/Left 4 Dead 2/bin/libtier0_s.so
./.local/share/Steam/SteamApps/common/regnum/live/libtier0_s.so
./.local/share/Steam/SteamApps/common/regnum/libtier0_s.so
./.local/share/Steam/SteamApps/common/hotline_miami/lib/libtier0_s.so
./.local/share/Steam/SteamApps/common/OpenVR/bin/linux32/libtier0_s.so
./.local/share/Steam/vr/runtime/bin/libtier0_s.so
[blax@blax-arch ~]$ find . -name "libv8.so"
./.local/share/Steam/ubuntu12_32/libv8.so
[blax@blax-arch ~]$ find . -name "libvideo.so"
./.local/share/Steam/ubuntu12_32/libvideo.so
[blax@blax-arch ~]$ find . -name "libvstdlib_s.so"
./.local/share/Steam/ubuntu12_32/libvstdlib_s.so
./.local/share/Steam/SteamApps/common/Natural Selection 2/libvstdlib_s.so
./.local/share/Steam/SteamApps/common/Borderlands 2/libvstdlib_s.so
./.local/share/Steam/SteamApps/common/Left 4 Dead 2/bin/libvstdlib_s.so
./.local/share/Steam/SteamApps/common/regnum/libvstdlib_s.so
./.local/share/Steam/SteamApps/common/regnum/live/libvstdlib_s.so
./.local/share/Steam/SteamApps/common/hotline_miami/lib/libvstdlib_s.so
./.local/share/Steam/SteamApps/common/OpenVR/bin/linux32/libvstdlib_s.so
./.local/share/Steam/vr/runtime/bin/libvstdlib_s.so

They are within the steam user folder.
Every libs in said folder:

$ ls .local/share/Steam/ubuntu12_32/lib*
.local/share/Steam/ubuntu12_32/libaudio.so             .local/share/Steam/ubuntu12_32/libmiles.so
.local/share/Steam/ubuntu12_32/libavcodec.so.56        .local/share/Steam/ubuntu12_32/liboverride.so
.local/share/Steam/ubuntu12_32/libav.conf              .local/share/Steam/ubuntu12_32/libSDL2-2.0.so.0
.local/share/Steam/ubuntu12_32/libavformat.so.56       .local/share/Steam/ubuntu12_32/libsteam.so
.local/share/Steam/ubuntu12_32/libav_h264.so.56        .local/share/Steam/ubuntu12_32/libswscale.so.3
.local/share/Steam/ubuntu12_32/libav_h264.so.56.crypt  .local/share/Steam/ubuntu12_32/libtier0_s.so
.local/share/Steam/ubuntu12_32/libav_h264.so.56.md5    .local/share/Steam/ubuntu12_32/libv8.so
.local/share/Steam/ubuntu12_32/libavresample.so.2      .local/share/Steam/ubuntu12_32/libvideo.so
.local/share/Steam/ubuntu12_32/libavutil.so.54         .local/share/Steam/ubuntu12_32/libvstdlib_s.so
.local/share/Steam/ubuntu12_32/libcef.so               .local/share/Steam/ubuntu12_32/libx264.so.142
.local/share/Steam/ubuntu12_32/libffmpegsumo.so        .local/share/Steam/ubuntu12_32/libx264.so.142.crypt
.local/share/Steam/ubuntu12_32/libicui18n.so           .local/share/Steam/ubuntu12_32/libx264.so.142.md5
.local/share/Steam/ubuntu12_32/libicuuc.so

Those are all libraries Steam brings with itself (in ./.local/share/Steam/ubuntu12_32/), but now it somehow doesn't look into its own directory, (or ldd doesn't, for that matter).

I've tried to copy all those bitches into /usr/lib32, ldd gives me this now:

$ echo $(ldd ".local/share/Steam/ubuntu12_32/steamui.so" 2>&1)
linux-gate.so.1 (0xf77bb000) libtier0_s.so => /usr/lib32/libtier0_s.so (0xf656a000) libv8.so => /usr/lib32/libv8.so (0xf5c7f000) libvideo.so => /usr/lib32/libvideo.so (0xf58c0000) libvstdlib_s.so => /usr/lib32/libvstdlib_s.so (0xf5875000) libSDL2-2.0.so.0 => /usr/lib32/libSDL2-2.0.so.0 (0xf5773000) libXtst.so.6 => /usr/lib32/libXtst.so.6 (0xf576c000) libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf5766000) libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf575b000) libXext.so.6 => /usr/lib32/libXext.so.6 (0xf5746000) libX11.so.6 => /usr/lib32/libX11.so.6 (0xf560e000) libGL.so.1 => /usr/lib32/libGL.so.1 (0xf54ef000) libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf5492000) libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf536b000) libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0xf4e80000) librt.so.1 => /usr/lib32/librt.so.1 (0xf4e76000) libpulse.so.0 => /usr/lib32/libpulse.so.0 (0xf4e1b000) libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf4def000) libm.so.6 => /usr/lib32/libm.so.6 (0xf4da2000) libdl.so.2 => /usr/lib32/libdl.so.2 (0xf4d9d000) libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf4ca7000) libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf4c8a000) /usr/lib/ld-linux.so.2 (0xf77bc000) libc.so.6 => /usr/lib32/libc.so.6 (0xf4ad0000) libicui18n.so => /usr/lib32/libicui18n.so (0xf48b5000) libicuuc.so => /usr/lib32/libicuuc.so (0xf3d3b000) libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf3d1f000) libavcodec.so.56 => /usr/lib32/libavcodec.so.56 (0xf3bc2000) libavformat.so.56 => /usr/lib32/libavformat.so.56 (0xf3b8d000) libavresample.so.2 => /usr/lib32/libavresample.so.2 (0xf3b6c000) libavutil.so.54 => /usr/lib32/libavutil.so.54 (0xf3b3f000) libswscale.so.3 => /usr/lib32/libswscale.so.3 (0xf3ae9000) libXi.so.6 => /usr/lib32/libXi.so.6 (0xf3ad6000) libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf3acb000) libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf3aa5000) libnvidia-tls.so.346.47 => /usr/lib32/libnvidia-tls.so.346.47 (0xf3aa0000) libnvidia-glcore.so.346.47 => /usr/lib32/libnvidia-glcore.so.346.47 (0xf1414000) libpcre.so.1 => /usr/lib32/libpcre.so.1 (0xf13a1000) libffi.so.6 => /usr/lib32/libffi.so.6 (0xf1398000) libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf12d8000) libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf12d3000) libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf12c4000) libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf129c000) libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf113c000) libgio-2.0.so.0 => /usr/lib32/libgio-2.0.so.0 (0xf0f88000) libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf0f71000) libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf0f1f000) libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf0ee3000) libjson-c.so.2 => /usr/lib32/libjson-c.so.2 (0xf0ed6000) libpulsecommon-6.0.so => /usr/lib32/pulseaudio/libpulsecommon-6.0.so (0xf0e4e000) libdbus-1.so.3 => /usr/lib32/libdbus-1.so.3 (0xf0df7000) libpng16.so.16 => /usr/lib32/libpng16.so.16 (0xf0db7000) libbz2.so.1.0 => /usr/lib32/libbz2.so.1.0 (0xf0da6000) libz.so.1 => /usr/lib32/libz.so.1 (0xf0d8f000) libXau.so.6 => /usr/lib32/libXau.so.6 (0xf0d8b000) libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf0d83000) libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf0d7f000) libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf0d74000) libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf0d70000) libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf0d6c000) libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf0d68000) libharfbuzz.so.0 => /usr/lib32/libharfbuzz.so.0 (0xf0d0b000) libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf0c48000) libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf0b95000) libEGL.so.1 => /usr/lib32/libEGL.so.1 (0xf0af5000) libxcb-shm.so.0 => /usr/lib32/libxcb-shm.so.0 (0xf0af0000) libxcb-render.so.0 => /usr/lib32/libxcb-render.so.0 (0xf0ae5000) libresolv.so.2 => /usr/lib32/libresolv.so.2 (0xf0acc000) libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf0aa3000) libsystemd.so.0 => /usr/lib32/libsystemd.so.0 (0xf0a69000) libsndfile.so.1 => /usr/lib32/libsndfile.so.1 (0xf09ef000) libasyncns.so.0 => /usr/lib32/libasyncns.so.0 (0xf09e8000) libnvidia-glsi.so.346.47 => /usr/lib32/libnvidia-glsi.so.346.47 (0xf0961000) libcap.so.2 => /usr/lib32/libcap.so.2 (0xf095c000) liblzma.so.5 => /usr/lib32/liblzma.so.5 (0xf092e000) libgcrypt.so.20 => /usr/lib32/libgcrypt.so.20 (0xf087e000) libgpg-error.so.0 => /usr/lib32/libgpg-error.so.0 (0xf086a000) libFLAC.so.8 => /usr/lib32/libFLAC.so.8 (0xf07e7000) libvorbisenc.so.2 => /usr/lib32/libvorbisenc.so.2 (0xf075b000) libnsl.so.1 => /usr/lib32/libnsl.so.1 (0xf073f000) libattr.so.1 => /usr/lib32/libattr.so.1 (0xf0739000) libogg.so.0 => /usr/lib32/libogg.so.0 (0xf0731000) libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0xf0705000)

No more "not found" in this one, but I still get the same weird libc.6.so message so there's something unresolved elsewhere I guess.
One could copy everything he needs in /usr/lib32 but in the end he would be missing the main point: why isn't everything correctly found in the first place ?

Also, I don't have the steam in-game overlay anymore and I get an error message when I try to play TF2 (Unable to connect to servers), both those syndromes appeared the same time as the libc thing, I guess they are strongly correlated.

What would be the best course of action gents ?
Has anyone encountered this, or is it related to my own configuration ?

Thank you for your time, stay dank.

[EDIT]
Ok, forget what I've been talking about, having "not found" libraries is something to be expected by the script (and solved later on)

However, the problem comes from a simlink pointing to itself.

If I run steam in a terminal and try to run a game:

dlopen failed trying to load:
/home/blax//.steam/sdk32/steamclient.so
with error:
/home/blax//.steam/sdk32/steamclient.so: cannot open shared object file: Too many levels of symbolic links
[S_API FAIL] SteamAPI_Init() failed; Sys_LoadModule failed to load: /home/blax//.steam/sdk32/steamclient.so
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.

Turns out there's a symlink loop:

[blax@blax-arch ~]$ ls -l /home/blax//.steam/sdk32
lrwxrwxrwx 1 blax blax 30 Mar 13 21:49 /home/blax//.steam/sdk32 -> /home/blax/.steam/root/linux32
[blax@blax-arch ~]$ ls -l /home/blax//.steam/root
lrwxrwxrwx 1 blax blax 22 Mar 13 21:49 /home/blax//.steam/root -> /home/blax/.steam/root
[blax@blax-arch ~]$ ls -l /home/blax//.steam/root 
lrwxrwxrwx 1 blax blax 22 Mar 13 21:49 /home/blax//.steam/root -> /home/blax/.steam/root

If steam didn't check for its own integrity at each start, this would have done the trick:

$ unlink /home/blax/.steam/sdk32
$ ln -s /home/blax/.local/share/Steam/linux32 /home/blax/.steam/sdk32

(/home/blax/.local/share/Steam/linux32 actually contains steamclient.so)

But any change of the sort gets cancelled.

On the bright side: there's an open (and assigned) issue for this on the steam-for-linux git repository:
https://github.com/ValveSoftware/steam- … ssues/3696

Also, the fix someone suggested in the comments does the trick, as long as I wait for steam to lunch and run it afterwards.

[/EDIT]

Last edited by Blaxar (2015-08-15 08:13:13)

Offline

#2 2015-08-15 08:12:46

Blaxar
Member
Registered: 2011-12-30
Posts: 8

Re: [SOLVED] Steam: missing libc.so.6 (or is it ?)

Ok, so apparently this seems to fix the issue once and for all:

https://www.reddit.com/r/archlinux/comm … ested_fix/

There's a bug going around in Steam where after some time after installation, it would fail to acquire links to all the necessary libraries it needs. This occurs on pretty much all distros according to my cursory Google searches, from Arch to Debian.

The error looks something like this:

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

A posted solution from voyager2102 over here suggests removing the / for your user entry in /etc/passwd so when you echo $HOME rather than get this

    /home/user/

You get this instead

    /home/user

Apparently this does actually solve the Steam link problem because it's no longer going in an endless loop trying to find the symlinks.

Tried it, it worked.

Marking this as solved.

Offline

#3 2015-11-18 20:12:48

mcd1992
Member
Registered: 2012-07-14
Posts: 4

Re: [SOLVED] Steam: missing libc.so.6 (or is it ?)

Sorry to bumb an old thread but I'd like to offer an alternative fix, seeing editing your passwd file is a bad idea.

Just do a `steam --reset` then run steam again. This will re-install and re-bootstrap the steam runtime. Its a nuclear fix that only affects steam though. Worked for me.

Offline

Board footer

Powered by FluxBB