Forum › Forums › New users › New Users and General Questions › Issues with a 32bit game and libraries
- This topic has 1 reply, 2 voices, and was last updated Oct 4-8:03 am by ModdIt.
-
AuthorPosts
-
October 4, 2021 at 5:17 am #68302
Anonymous
There’s this game called Limbo by Playdead, which is 32bit and finally got native Linux port in 2014.
Pity they never made it both 32 and 64bit…First the background.
I use Antix x64, so I was installing all required i386 packages. Finally, when “ldd” command did not display any “not found” libraries and running the binary gave no errors (missing libraries as well), got game running, but with no sound.
I noticed an error in console though, which read something like this:
ALSA lib dlmisc.c:<some_number> [...] Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_equal.so [...] : No such file or directorySo I was missing another i386 library. Package containing such library is libasound2-plugin-equal:i386, but when trying to install it I got an error.
Long story short, package libasound2-plugin-equal has package caps as dependency; both are already installed by default in x64. Problem is, caps package has this long unresolved ancient bug, which effectively prevents multiarch installations. I tested it, and yes, effectively both versions install in the *exact same* “neutral” location, when they should be installed whether in /usr/lib/x86_64-linux-gnu or i386-linux-gnu respectively.Replacing both packages to i386 versions makes the game finally work, but totally breaks system-wide sound, which is actually expected.
End of background.
So I tried other approaches.
Copied the individual i386 libraries beforehand to game’s directory, and tried running the binary with LD_LIBRARY_PATH=/path/to/directory preceding. Didn’t work for some reason…Tried using “chrpath” and “patchelf” commands to list binary’s current rpaths; I expected to find more than one path including system’s default library locations. Instead, both commands displayed just “$ORIGIN”.
After an internet search, I understood that this supposedly means that binary looks for its needed stuff *right in the same location* binary itself currently is. But I already put libraries there, and is not working.
Before you mention it, it did came to mind to try contacting original developers’ support. Aside already trying sending an email, and getting no response, it seems their support system no longer works/exists.
So finally ran out of options. Not even idea of where to ask. Of course I knew this forum would most likely not be the best or even correct place to ask, but I had to start somewhere. Hope it doesn’t bother you.
So, by any lucky chance, could anybody have an idea to help a bit? Or more likely, do you know where could be a better place to ask this stuff?
Thanks in advance.
October 4, 2021 at 8:03 am #68307MemberModdIt
::Hi ctcx,
if your system is able to run 32 bit live from usb for example you could install the game on such a setup.
If working just remaster to keep your changes. -
AuthorPosts
- You must be logged in to reply to this topic.