Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dungeons of Dredmor - wrong binary / incomplete LD_LIBRARY_PATH #430

Closed
s1n opened this issue Dec 27, 2012 · 2 comments
Closed

Dungeons of Dredmor - wrong binary / incomplete LD_LIBRARY_PATH #430

s1n opened this issue Dec 27, 2012 · 2 comments

Comments

@s1n
Copy link

s1n commented Dec 27, 2012

After this application installed, it provided 3 binaries, Dredmor, Dredmor-x86, and Dredmor-amd64. When attempting to launch the game, it appears to be executing Dredmor-x86, which needs additional LD_LIBRARY_PATH set to include the x86 directory so that it may find libsteam_api.so.

Moving the Dredmor-x86 binary aside and symlinking to the Dredmor-amd64 binary (Dredmor-x86 -> Dredmor-amd64), the game appears to execute without issue.

Note my system information: https://gist.github.com/4390290

@Freso
Copy link

Freso commented Dec 28, 2012

The Dredmor binary isn't a binary, it's a(n executable) script. This script should decide, based on your system specs, whether to launch the -x86 or -amd64. However, because the Steamworks SDK is currently 32-bit only, Dredmor will always launch the 32-bit client when launched from Steam:

# We only have Steamworks SDK for x86 at the moment, so if we were launched
#  from the Steam Client, force 32-bit for now. We'll remove this when there's
#  a 64-bit SDK available

You can do cd ~/.local/share/Steam/SteamApps/common/Dungeons\ of\ Dredmor; ./Dredmor to launch the native version.

@s1n
Copy link
Author

s1n commented Dec 29, 2012

Yes, I was aware. I tried running it manually, but it never ran from the Steam client. After making this change, and undoing it just now, it seems to be working from the Steam client. That's odd because I basically removed the symlink and moved the Dredmor-x86 file back to its original name.

I think it's safe to close this as it works as expected (either OBE or via updates).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants