protonscr

Spaces in Steam directory path break the in-game overlay

steamopen reviewedoverlay
ValveSoftware/steam-for-linux#3641 · opened 2014-12-21 by silverhammermba · updated 2014-12-22 · 0 comments · github
Ssilverhammermba 2014-12-21 github

I symlinked my Steam directory to a directory on a different partition in order to save room on my home partition:

ln -s ~/.local/share/Steam ~/data/Steam\ Linux

But the space in "Steam Linux" seems to have confused the linker, as now the overlay doesn't work:

ERROR: ld.so: object '/home/max/data/Steam' from LD_PRELOAD cannot be preloaded (cannot read file data): ignored.
ERROR: ld.so: object 'Linux/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

As you can see, ld.so is not escaping the space and is looking for two separate files. Changing the symlinked directory to Steam_Linux fixed the problem. The other partition is formatted NTFS, I'm not sure if that's related.

Nothing extracted yet.