I installed Steam (nativeOnly = true) and I’m trying to run Windows games via Steam Play, I tried two so far and both didn’t even start, with roughly the same error (line 14). I tried a Linux supported game and works fine.
I tried changing the LD_LIBRARY_PATH
variable by running Steam like this
LD_LIBRARY_PATH=$(nix eval --raw nixpkgs.stdenv.cc.cc.lib)/lib steam
and also manually changing the LD_LIBRARY_PATH before launching steam
$ export LD_LIBRARY_PATH=$(nix eval --raw nixpkgs.stdenv.cc.cc.lib)/lib
$ steam
Just to be sure
$ cd $(nix eval --raw nixpkgs.stdenv.cc.cc.lib)/lib
$ ls | grep libstdc++.so.6
libstdc++.so.6 # EXISTS
libstdc++.so.6.0.27
libstdc++.so.6.0.27-gdb.py
So far nothing worked and nothing changed.
This is my NixOS configuration
Why games are not seeing the library, am I setting the LD_LIBRARY_PATH
wrong? Please help, thanks.
5 Likes
Have you tried using the penultimate version of Proton instead of the latest?
Proton 5.0 works, any idea how to make the latest version (5.13) work?
3 Likes
you may want to look at:
/home/gg/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/pressure-vessel/bin/pressure-vessel-adverb
to see if it’s doing anything odd. For example, zachtronics games will unset LD_LIBRARY_PATH. https://github.com/NixOS/nixpkgs/pull/94269
Also, can you do nix-shell -p nix-info --run "nix-info"
, so it can be better reproduced.
This doesn’t work due to buildFHSUserEnv
$ SOMETHING=HI steam-run echo $SOMETHING
Thank you for your reply! This is the output of nix-shell -p nix-info --run "nix-info"
system: "x86_64-linux",
multi-user?: yes,
version: nix-env (Nix) 2.3.6,
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
I took a look at pressure-vessel-adverb
, but it’s in binary and I don’t understand much, is there anything else I can do?
Thanks
This looks like the issue described in this github issue.
Currently it seems pressure-vessel needs adaptation and maybe libexpat added to the env.
2 Likes