!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

586 Members
Gaming things, my hands are typing words.158 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
10 Sep 2025
@rein:rein.icuRein* Maybe there's some more elegant solution with something like nix_ld, but I'm lost as to how use nix_ld21:26:40
@rein:rein.icuRein either way, seems that copying the libjack.so via steam-run cp /lib32/libjack.so $HOME/.steam/steam/steamapps/Rocksmith2014 and then providing the absolute path in LD_PRELOAD to libjack inside Rocksmith2014 dir works 21:27:08
@rein:rein.icuRein preloading rs-linux-autoconnect's librsshim.so also works after being copied to the game's directory 21:29:43
@rein:rein.icuRein Would appreciate an answer about why it throws wrong ELF class: ELFCLASS32 when getting loaded from /lib32 and does not when being loaded from the game's directory, as it makes no sense to me 21:31:48
11 Sep 2025
@wensimehrp:matrix.orgJeremy Gao joined the room.02:31:19
@rein:rein.icuRein Alright, now I get it. LD_PRELOAD=/lib32/libjack.so will result in ld trying to access /run/host/lib32/libjack.so, that does not exist, since we're in Steam's FHS. I'll try with nix-ld later today 05:52:52
@rein:rein.icuRein It works without nix-ld, I just had to change LD_PRELOAD from /lib32/libjack.so to /usr/lib32/libjack.so 15:28:09
12 Sep 2025
@aidalgol:tchncs.de@aidalgol:tchncs.de set a profile picture.09:21:36
@shaderoit99:matrix.org@shaderoit99:matrix.org left the room.19:57:00

Show newer messages


Back to Room ListRoom Version: 10