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
Just to be sure
$ cd $(nix eval --raw nixpkgs.stdenv.cc.cc.lib)/lib
$ ls | grep libstdc++.so.6
libstdc++.so.6 # EXISTS
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.
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?
you may want to look at:
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
$ SOMETHING=HI steam-run echo $SOMETHING
Thank you for your reply! This is the output of
nix-shell -p nix-info --run "nix-info"
version: nix-env (Nix) 2.3.6,
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?
This looks like the issue described in this github issue.
Currently it seems pressure-vessel needs adaptation and maybe libexpat added to the env.