32-bit execution not working correctly

I was trying to use steam but it was throwing errors. I followed the Arch linux wiki about steam troubleshooting but none of that worked.

sudo cat /var/log/endeavour-install.log

https://dpaste.com/7N4QZBKMJ

journalctl -k -b -0

https://dpaste.com/G8VFFDBPC

inxi -Fxxc0z

https://dpaste.com/294WAR34B

Using endeavourOS log tool with PCI,usb devices, bootup stats, grub conf, disks, native & foregin packahged, pacman config, install log and harware info
https://dpaste.com/DAAF7RVG2

AUR troubleshooting

end@endoftimee-laptop ~> rm -rf ~/.local/share/Steam/ end@endoftimee-laptop ~> rm -rf ~/.steam end@endoftimee-laptop ~> steam bin_steam.sh[346926]: Setting up Steam content in /home/end/.local/share/Steam steam.sh[346926]: Running Steam on endeavouros rolling 64-bit steam.sh[346926]: STEAM_RUNTIME is enabled automatically setup.sh[347020]: Updating Steam runtime environment...  (zenity:347028): Gtk-WARNING **: 09:08:33.538: Unknown key gtk-modules in /home/end/.config/gtk-4.0/settings.ini  (zenity:347028): Adwaita-WARNING **: 09:08:33.732: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. MESA-INTEL: warning: ../mesa-25.2.1/src/intel/vulkan/anv_formats.c:947: FINISHME: support YUV colorspace with DRM format modifiers MESA-INTEL: warning: ../mesa-25.2.1/src/intel/vulkan/anv_formats.c:979: FINISHME: support more multi-planar formats with DRM modifiers setup.sh[347020]: Forced use of runtime version for 32-bit libcurl-gnutls.so.4 steam.sh[346926]: Log already open steam.sh[346926]: Error: You are missing the following 32-bit libraries, and Steam may not run: libc.so.6 steam.sh[346926]: Steam client's requirements are satisfied /home/end/.local/share/Steam/steam.sh: line 900: /home/end/.local/share/Steam/ubuntu12_32/steam: cannot execute: required file not found
end@endoftimee-laptop ~> ldd /usr/lib32/ld-linux.so.2
/usr/bin/ldd: line 159: /usr/lib/ld-linux.so.2: cannot execute: required file not found
ldd: exited with unknown exit code (127)

Have tried to reinstalled glibc, lib32-glibc, gcc, steam
and none of that worked

Make sure you have [multilib] enabled in
/etc/pacman.conf, then update system.

You’re not running steam from the command-line there? What happens when you run steam from the command-line?

end@endoftimee-laptop ~/Github> cat /etc/pacman.conf | grep multilib
# enable the multilib repositories as required here.
#[multilib-testing]
[multilib]

Is this what u mean?

end@endoftimee-laptop ~/Github> steam
steam.sh[351483]: Running Steam on endeavouros rolling 64-bit
steam.sh[351483]: STEAM_RUNTIME is enabled automatically
setup.sh[351557]: Steam runtime environment up-to-date!
steam.sh[351483]: Log already open
steam.sh[351483]: Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
steam.sh[351483]: Steam client's requirements are satisfied
/home/end/.local/share/Steam/steam.sh: line 900: /home/end/.local/share/Steam/ubuntu12_32/steam: cannot execute: required file not found

Sorry, didn’t notice at first you have that covered already.

I saw that you also have nix-default and nix-user packages. Maybe you did something with the nix setup that changde the glibc library paths? Since when did this start to happen, what did you do before this issue appeared. Try revering to a previous snapshot of your system when it was working?

before the issues, i think i had tried to do smth with nix flakes
I dont think i have any snapshots recently. i am new to btrfs so i do not how to read this:
end@endoftimee-laptop ~/Github> sudo btrfs subvolume list /
Enter Password or Place finger on fingerprint reader:
ID 256 gen 59264 top level 5 path @
ID 257 gen 59264 top level 5 path @home
ID 258 gen 59193 top level 5 path @cache
ID 259 gen 59264 top level 5 path @log
ID 261 gen 59258 top level 257 path @home/.snapshots
ID 736 gen 27254 top level 261 path @home/.snapshots/5/snapshot
ID 750 gen 28695 top level 256 path var/lib/archbuild/extra-x86_64/root
ID 751 gen 28574 top level 750 path var/lib/archbuild/extra-x86_64/root/var/lib/portables
ID 752 gen 28574 top level 750 path var/lib/archbuild/extra-x86_64/root/var/lib/machines
ID 755 gen 28589 top level 256 path var/lib/aurbuild/x86_64/root
ID 758 gen 28696 top level 256 path var/lib/archbuild/extra-x86_64/end
ID 834 gen 34172 top level 261 path @home/.snapshots/113/snapshot
ID 999 gen 46999 top level 261 path @home/.snapshots/289/snapshot
ID 1015 gen 48792 top level 261 path @home/.snapshots/305/snapshot
ID 1037 gen 51229 top level 261 path @home/.snapshots/327/snapshot
ID 1051 gen 52249 top level 261 path @home/.snapshots/341/snapshot
ID 1068 gen 54391 top level 261 path @home/.snapshots/358/snapshot
ID 1083 gen 55930 top level 261 path @home/.snapshots/373/snapshot
ID 1088 gen 56231 top level 261 path @home/.snapshots/378/snapshot
ID 1095 gen 56797 top level 261 path @home/.snapshots/385/snapshot
ID 1112 gen 58070 top level 261 path @home/.snapshots/402/snapshot
ID 1116 gen 58471 top level 261 path @home/.snapshots/406/snapshot
ID 1117 gen 58495 top level 261 path @home/.snapshots/407/snapshot
ID 1118 gen 58612 top level 261 path @home/.snapshots/408/snapshot
ID 1119 gen 58637 top level 261 path @home/.snapshots/409/snapshot
ID 1120 gen 58753 top level 261 path @home/.snapshots/410/snapshot
ID 1121 gen 58813 top level 261 path @home/.snapshots/411/snapshot
ID 1122 gen 58924 top level 261 path @home/.snapshots/412/snapshot
ID 1123 gen 59024 top level 261 path @home/.snapshots/413/snapshot
ID 1124 gen 59081 top level 261 path @home/.snapshots/414/snapshot
ID 1125 gen 59201 top level 261 path @home/.snapshots/415/snapshot

I use btrfs-assistent with snapper for my snapshots. Looking at that it doesn’t look like you have a snpshot of your root sub-volume. I would uninstall anything you have installed with Nix flakes, I don’t see anything in the Archwiki mentioning Flakes only the nix package manager. It’s always a good idea to make a snapshot of your root sub-volume before you start experimenting with something on your system.

how do i see what i have installed with flakes and how do i make subvolumes of my root and just specific folders?

No idea I haven’t use NixOS in a long time. Flakes is basically a description of how you want something installed and configured, on NixOS you change your Flak and then reapply it and whatever you removed from the Flake gets removed.

i dont think i used flakes?

also how can i make snapshots

image

image

With btrfs-assistent, you can install it from the AUR.

No idea what that does. But I just checked here.

Seems what you ran only does it for that the user’s profile who you ran it under. Try creating a new user, logging into that user and then when logged in with that user account try starting up Steam? Does it work then?

it does not.

Try running “nix-env --query --installed” and share the output?

end@endoftimee-laptop ~> nix-env --query --installed
nix-2.29.1

Did you by any chance run that command you ran as root with sudo, so this?

nix-env -f https://github.com/nix-community/nixos-generators/archive/master.tar.gz -i

did i run which command with sudo?

This one when you ran it?

In my bash history:
sudo nix-env -f https://github.com/nix-community/nixos-generators/archive/master.tar.gz -i
sudo nix run github:nix-community/nixos-generators – --help