9

I am trying to play the Linux version of Bean's Quest purchased from the Humble Store. I extracted the tar file but I get the following error when trying to run the game:

error while loading shared libraries: libXrandr.so.2 cannot open shared object file: no such file or directory

Is there a way to resolve this dependency?

I also tried installing the Windows .msi version as a non steam game but the msi just exits when I open it and proton is greyed out when trying to select it.

Any help is greatly appreciated!

top 7 comments
sorted by: hot top controversial new old
[-] Fubarberry@sopuli.xyz 4 points 1 year ago

For the windows .msi version, you might try installing it on a windows computer and then copy the install directory over to the deck. Then you can add the executable to steam as a non-steam game, and force proton through the "force compatibility tool" menu.

I believe the libXrandr.so.2 library can normally be installed on Arch by installing the libxrandr package, but I'm not sure how to install that on SteamOS without unlocking the filesystem.

[-] fernandorincon@reddthat.com 2 points 1 year ago* (last edited 1 year ago)

Installing the msi to a windows machine, copying the files and running the executable with proton did the trick! Thank you so much!

[-] Rustmilian@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

For Arch/Manjaro/SteamOS :
sudo pacman -Syu libxrandr

For Debian/Ubuntu :
sudo apt-get install libxrandr2

[-] Fubarberry@sopuli.xyz 1 points 1 year ago

Yeah, but with steamOS being immutable you can't install stuff from pacman without unlocking it first.

[-] Rustmilian@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

True. But the only other way I can think of is to extract the Arch packages and add the libs too $LD_LIBRARY_PATH , which might end up being more trouble than it's worth because you'd likely need the libraries from libxrandr's dependencies as well. For example adding

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/foo/lib:/home/myself/lib

to .bashrc

[-] Fubarberry@sopuli.xyz 1 points 1 year ago

I haven't messed around with it much, but I wonder if you could use an overlay like rwfus to install the libs.

[-] Rustmilian@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Apon your referral, I've read the source files for rwfus.
I believe it would work, however I'd highly recommend against it. If you do try it, use it with the utmost care. It has some flaws; I mean if the warning in README.md wasn't obvious enough, lol.

this post was submitted on 27 Jul 2023
9 points (100.0% liked)

Steam Deck

14814 readers
29 users here now

A place to discuss and support all things Steam Deck.

Replacement for r/steamdeck_linux.

As Lemmy doesn't have flairs yet, you can use these prefixes to indicate what type of post you have made, eg:
[Flair] My post title

The following is a list of suggested flairs:
[Discussion] - General discussion.
[Help] - A request for help or support.
[News] - News about the deck.
[PSA] - Sharing important information.
[Game] - News / info about a game on the deck.
[Update] - An update to a previous post.
[Meta] - Discussion about this community.

Some more Steam Deck specific flairs:
[Boot Screen] - Custom boot screens/videos.
[Selling] - If you are selling your deck.

These are not enforced, but they are encouraged.

Rules:

Link to our Matrix Space

founded 3 years ago
MODERATORS