protonscr

After `make install`, local build of Proton looks for shared object files in wrong directory

protonclosed
ValveSoftware/Proton#4311 · opened 2020-10-23 by bradley-evans · updated 2020-12-15 · 3 comments · github
2 matching comments, n / p to jump
Bbradley-evans 2020-10-23 github

After running make install per the README on the root repository page, I have a local proton_5.13-local folder in my ~/.steam/root/compatabilitytools.d/. Attempting to run ~/.steam/root/compatabilitytools.d/proton_5.13-local/dist/bin/wine64 winecfg returns the following error:

wine: failed to initialize: /home/vagrant/build-proton_5.13-local/dist-wine32/lib/wine/ntdll.dll.so: cannot open shared object file: No such file or directory

I suspect an environment variable is not getting set somewhere, but I'm not sure where. This breaks tools like protontricks, which will return an error like:

------------------------------------------------------
warning: /home/brad/.cache/protontricks/proton/Proton 5.13/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine: failed to initialize: /home/vagrant/build-proton_5.13-local/dist-wine32/lib/wine/ntdll.dll.so: cannot open shared object file: No such file or directory" 
------------------------------------------------------
?ghost 2020-10-24 github

Does it work if you use make redist instead?

Aaeikum 2020-10-26 github

You cannot run Proton's wine directly, you must use the proton script. If you want to run winecfg in a Proton prefix, I suggest using the PROTON_DUMP_DEBUG_COMMANDS option. Note that you will also need to set PROTON_DEBUG_DIR to someplace in your Home directory, since the container deletes its /tmp/ upon exit.

Hh1z1 2020-12-15 github

@aeikum This happens WITH the debug script from proton

./run cmd.exe
wine: failed to initialize: /home/vagrant/build-proton_5.13-local/dist-wine32/lib/wine/ntdll.dll.so: cannot open shared object file: No such file or directory

I don't know when that broke but I've used it for .. years? Since it was added.

Proton versions

Launch options

DLLs