You are not logged in.
I'm getting the following error when trying to run steam:
lllars ~ $ steam
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
/home/lllars/.local/share/Steam/steam.sh: line 716: /home/lllars/.local/share/Steam/ubuntu12_32/steam: Permission denied
Installing bootstrap /home/lllars/.local/share/Steam/bootstrap.tar.xz
Restarting Steam by request...
Running Steam on arch rolling 64-bit
STEAM_RUNTIME has been set by the user to: /home/lllars/.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/lllars/.local/share/Steam/steam.sh: line 716: /home/lllars/.local/share/Steam/ubuntu12_32/steam: Permission denied
lllars ~ $ pacman -Ss lib32-glibc
multilib/lib32-glibc 2.18-8 [installed]
GNU C Library for multilib
any ideas?
[SOLVED] /usr/lib/ld-linux.so.2 was erroneously linked to an old version of the library
Last edited by lllars (2013-11-13 21:53:12)
Offline
$ pacman -Qo /usr/lib/libc.so.6
/usr/lib/libc.so.6 is owned by glibc 2.18-9
Have you tried to update your system?
Offline
yep, did a system wide update this morning. i also get /usr/lib/libc.so.6 is owned by glibc 2.18-9
Offline
You need the 32-bit version of that library.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
see my first post. lib32-glibc is installed.
Offline
Sorry, I missed that. Can you check that the shared object is actually there.
ls -l /usr/lib32/libc.so.6
ls -l /usr/lib32/libc-2.18.so
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Yes, it's there:
lllars ~ $ ls -l /usr/lib32/libc.so.6
lrwxrwxrwx 1 root root 12 Oct 21 11:04 /usr/lib32/libc.so.6 -> libc-2.18.so
lllars ~ $ ls -l /usr/lib32/libc-2.18.so
-rwxr-xr-x 1 root root 1997023 Oct 21 11:04 /usr/lib32/libc-2.18.so
Here's a snippet of output from an strace. It appears to be looking for libc.so.6 in /usr/lib/ in which case I guess it is finding the 64-bit version?
lllars ~ $ strace -o tmp steam; head tmp
execve("/usr/bin/steam", ["steam"], [/* 29 vars */]) = 0
brk(0) = 0x171a000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=172101, ...}) = 0
mmap(NULL, 172101, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3eec4dd000
close(3) = 0
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\34\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2027541, ...}) = 0
Offline
Hi, i have the same ones
$ ls -l /usr/lib32/libc.so.6
lrwxrwxrwx 1 root root 12 Oct 21 18:04 /usr/lib32/libc.so.6 -> libc-2.18.so
$ ls -l /usr/lib32/libc-2.18.so
-rwxr-xr-x 1 root root 1997023 Oct 21 18:04 /usr/lib32/libc-2.18.so
and also mine steam client does the same
ls -l /usr/lib32/libc-2.18.so
-rwxr-xr-x 1 root root 1997023 Oct 21 18:04 /usr/lib32/libc-2.18.so
$ strace steam
execve("/usr/bin/steam", ["steam"], [/* 48 vars */]) = 0
brk(0) = 0x1083000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=236435, ...}) = 0
mmap(NULL, 236435, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe5a2324000
close(3) = 0
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\34\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2027541, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5a2323000
mmap(NULL, 3844624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe5a1d94000
mprotect(0x7fe5a1f36000, 2093056, PROT_NONE) = 0
mmap(0x7fe5a2135000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a1000) = 0x7fe5a2135000
mmap(0x7fe5a213b000, 14864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fe5a213b000
close(3)
and it's running fine, and i know, this is not a solution for you, but the problem must be somewhere else ... is your steam client up to date? I mean when did you used it last time and it was running?
Last edited by LyCC (2013-11-09 22:50:52)
Offline
Thanks for posting that LyCC. It's helpful to know that that is not the problem.
Offline
Sorry, i edited my post in the meantime, i guess you missed it.
is your steam client up to date? I mean when did you used it last time and it was running and maybe if you know what changed since that ...
Offline
I think I have the most recent version of the steam client. I have never had it running. I first tried to install it a few months ago, and it failed to run, probably the same problem I'm having now, although I don't remember the specifics. I didn't persue it at the time, but now I am more interested in actually getting it working.
lllars ~ $ pacman -Ss steam
multilib/steam 1.0.0.43-1 [installed]
Digital distribution client bootstrap package
Offline
Could you show the output of
ls -l /home/lllars/.local/share/Steam/steam.sh
and also
mount
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Btw, I intentionally deleted the .local/share/Steam directory this morning while troubleshooting this problem. It recreated the directory the next time I tried to run it. So, everything in there should be default.
lllars ~ $ ls -l /home/lllars/.local/share/Steam/steam.sh
-rwx------ 1 lllars users 21689 Oct 8 13:56 /home/lllars/.local/share/Steam/steam.sh
lllars ~ $ mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=4043580k,nr_inodes=1010895,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sda5 on /home type ext4 (rw,relatime,data=ordered)
Offline
Not sure if this is related, but it could be. I tried to install xampp a few months ago, but never got it running due to 32-bit compatability issues. Here's the error I get when trying to run it:
lllars ~ $ sudo xampp
[sudo] password for lllars:
XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.
For more info, here's a link to the forum thread I started back then. https://bbs.archlinux.org/viewtopic.php?id=163492
I don't have a need for xampp anymore, so it can stay broken for all I care. It would be nice to get steam working though.
Offline
digging deeper i found this in ~/.local/share/steam/steam.sh, which is called at the end of /usr/bin/steam:
function get_missing_libraries()
{
if ! ldd "$1" >/dev/null 2>&1; then
# We couldn't run the link loader for this architecture
echo "libc.so.6"
else
ldd "$1" | grep "=>" | grep -v linux-gate | grep -v / | awk '{print $1}'
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
}
I'm also looking at the debug info from running the same script. The relevant part is:
+ check_shared_libraries
+ '[' -f /home/lllars/.local/share/Steam/ubuntu12_32/steamui.so ']'
++ get_missing_libraries /home/lllars/.local/share/Steam/ubuntu12_32/steam
++ ldd /home/lllars/.local/share/Steam/ubuntu12_32/steam
++ echo libc.so.6
+ MISSING_LIBRARIES=libc.so.6
+ '[' libc.so.6 '!=' '' ']'
+ show_message --error 'You are missing the following 32-bit libraries, and Steam may not run:\nlibc.so.6'
+ style=--error
My interpretation is that I'm not necessarily missing libc.so.6, but that the script is hard-wired to report that if running ldd fails:
lllars ~/.local/share/Steam (1) $ ldd ./ubuntu12_32/steam
not a dynamic executable
Offline
So, I'm assuming that not everyone is getting this "missing libc.so.6" error. Which must mean they are able to run ldd successfully against ~/.local/share/Steam/ubuntu12_32/steam. So why is my ldd failing?
On another tack, part of the standard error output from running steam (listed in full in my original post) is this:
/home/lllars/.local/share/Steam/steam.sh: line 716: /home/lllars/.local/share/Steam/ubuntu12_32/steam: Permission denied
What could possibly be causing the permission denied error??? The permissions look okay to me:
lllars ~ $ ls -l ~/.local/share/Steam/ubuntu12_32/steam
-rwx------ 1 lllars users 3448966 Oct 8 13:56 /home/lllars/.local/share/Steam/ubuntu12_32/steam
lllars ~ $ ~/.local/share/Steam/ubuntu12_32/steam
bash: /home/lllars/.local/share/Steam/ubuntu12_32/steam: Permission denied
I've even tried running it as root to no avail.
Last edited by lllars (2013-11-10 02:44:06)
Offline
This stuff has always worked automagically for me, so I don't know if it will help here, but make sure that /etc/ld.so.conf.d/lib32-glibc.conf exists and has
/usr/lib32
in it. Also check /etc/ld.so.conf, it should have
#
# /etc/ld.so.conf
#
include /etc/ld.so.conf.d/*.conf
# End of file
Then run
# ldconfig
To update your linker cache.
Also, can you post the output of:
ls -ld /
And upload the full strace output to a pastebin.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
The contents of my etc/ld.so.conf.d/lib32-glibc.conf and /etc/ld.so.conf match yours. I ran ldconfig and can confirn that it is finding the /usr/lib32 directory:
lllars ~ $ sudo ldconfig
lllars ~ $ ldconfig -p | grep libc.so.6
libc.so.6 (libc6,x86-64, OS ABI: Linux 2.6.32) => /usr/lib/libc.so.6
libc.so.6 (ELF, OS ABI: Linux 2.6.32) => /usr/lib32/libc.so.6
lllars ~ $ grep libc.so.6 /etc/ld.so.cache
I don't know what you're looking for from ls -ld /, but here is the output:
lllars ~ $ ls -ld /
drwxr-xr-x 20 root root 4096 Jun 11 19:26 /
will post the strace output in a few minutes, once i figure out how to use a pastebin
Last edited by lllars (2013-11-10 15:45:21)
Offline
ok, the full output of
lllars ~ $ strace -o tmp steam
is located at this link http://pastebin.com/8B5U9rHh
Offline
Well I'm all out of ideas. The strace seems to suggest that everything is doing exactly what it should be, and steam is exiting normally. You might have to post a support ticket on Steam's bug/issue tracker. https://github.com/ValveSoftware/steam-for-linux/issues
I don't know what you're looking for from ls -ld /
Just a sanity check really. Sometimes incorrect permissions on / cause all sorts of weird problems. Your permissions look fine though.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Ok, thanks for trying WorMzy.
Offline
Would it make a difference if you chmod'ed 755
Mine is as follows:
ls -l ~/.local/share/Steam/ubuntu12_32/steam
-rwxr-xr-x 1 pascal users 3456286 30 oct. 20:26 /home/pascal/.local/share/Steam/ubuntu12_32/steam*
Offline
I'm afraid not.
lllars ~ $ chmod 777 .local/share/Steam/ubuntu12_32/steam
lllars ~ $ ls -l .local/share/Steam/ubuntu12_32/steam
-rwxrwxrwx 1 lllars users 3448966 Oct 8 13:56 .local/share/Steam/ubuntu12_32/steam
lllars ~ $ .local/share/Steam/ubuntu12_32/steam
bash: .local/share/Steam/ubuntu12_32/steam: Permission denied
Also, running /usr/bin/steam resets the permissions to 700, presumably while it installs the bootstrap.
Offline
I'm afraid not.
lllars ~ $ chmod 777 .local/share/Steam/ubuntu12_32/steam lllars ~ $ ls -l .local/share/Steam/ubuntu12_32/steam -rwxrwxrwx 1 lllars users 3448966 Oct 8 13:56 .local/share/Steam/ubuntu12_32/steam lllars ~ $ .local/share/Steam/ubuntu12_32/steam bash: .local/share/Steam/ubuntu12_32/steam: Permission denied
Also, running /usr/bin/steam resets the permissions to 700, presumably while it installs the bootstrap.
well, it's strange ... you are logged in with the user "lllars" right? you install steam from this user, you give it 777 and when you are trying to run it, bash gives you permission denied? hm ... i assume your partition (which is /home) is mounted with the permission to execute files from it, since in your prev. posts steam did manage to load, at least the main executable ... weired, it's not logical, but it doesn't look like a big in the steam, maybe someone with more experience here can help.
Btw, where is the /home partition mounted, is in the /etc/fstab or?
Last edited by LyCC (2013-11-13 17:36:35)
Offline
Yep, totally weird. I am logged in with user lllars, which is my normal everyday user and this is my normal everyday computer. I run other programs which are located in subdirectories of /home/lllars/ all the time. Here is the output of my /etc/fstab:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
shm /dev/shm tmpfs nodev,nosuid 0 0
/dev/sda2 / ext4 defaults,relatime 0 1
/dev/sda5 /home ext4 defaults,relatime 0 1
/dev/sda6 swap swap defaults 0 0
/dev/sda1 /win auto user,noauto 0 0
none /proc/bus/usb usbfs auto,busgid=108,busmode=0775,devgid=108,devmode=0664 0 0
Agreed that this doesn't seem like a steam bug, but rather just that something is a little strange with my computer. I don't know what else could cause a permission denied error. As I said before I even tried to run it as root, and still got premission denied.
Also, as I said before, I've experienced a similar problem with xampp, which I traced back to the script trying to run the following (another permission denied error):
lllars ~ $ ls -l /opt/lampp/bin/php-5.4.7
-rwxr-xr-x 1 root root 10216136 Sep 30 2012 /opt/lampp/bin/php-5.4.7
lllars ~ $ /opt/lampp/bin/php-5.4.7
bash: /opt/lampp/bin/php-5.4.7: Permission denied
lars ~ (1) $ su
Password:
root /home/lllars # /opt/lampp/bin/php-5.4.7
bash: /opt/lampp/bin/php-5.4.7: Permission denied
Any ideas about what else could cause such an error would be appreciated
Offline