I’ve got a native linux game on steam that’s complaining it can’t find libcrypto.so.1.1
:
❯ steam-run ~/games/steamapps/common/Loop\ Hero/Loop_Hero
/home/user/games/steamapps/common/Loop Hero/Loop_Hero: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
❯ cd /nix/store && fd libcrypto.so.1.1 | grep steam
yl1kzp68cmkgxp4kccyfjkzr2psqw12k-steam-run-usr-target/lib/libcrypto.so.1.1
h4q9z9wmd17m2ykp6dmvsn7jjvyqaxra-steam-run-fhs/usr/lib32/libcrypto.so.1.1
h4q9z9wmd17m2ykp6dmvsn7jjvyqaxra-steam-run-fhs/usr/lib64/libcrypto.so.1.1
bdcy5kz7qg6hdm7frzd0h915b283hyz3-steam-run-usr-multi/lib/libcrypto.so.1.1
❯ nix-shell -p nix-info --run "nix-info"
system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.3.10, channels(user): "nixpkgs-21.05pre278688.c0e88185200, nixos-20.09-20.09.2290.647cc06986c", channels(root): "nixos-20.09.3650.dc2870a606a, nixos-unstable-21.05pre279012.ad47284f8b0", nixpkgs: /home/user/.nix-defexpr/channels/nixpkgs
Give n the output of the second command it appears to be available, so I’m not 100% sure what’s going on.
I found this post that seems related, but this game is going through the steam runtime and not proton, and the linked github issue is fixed and my steam is installed from a recent version of nixpkgs unstable, so it would include that fix. Any advice on how I should go about diagnosing this issue?